- 
          
 - 
                Notifications
    
You must be signed in to change notification settings  - Fork 6.2k
 
Organization Members Page add "Invite Member" button #27800
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Closed
      
      
    
  
     Closed
                    Changes from all commits
      Commits
    
    
            Show all changes
          
          
            14 commits
          
        
        Select commit
          Hold shift + click to select a range
      
      9135b5e
              
                Members page add invite member
              
              
                Sonic853 988dcf7
              
                Add Invite Member button
              
              
                Sonic853 cf34610
              
                Change invite member page
              
              
                Sonic853 b3ec624
              
                Fix errors detected by lint-backend and lint-templates
              
              
                Sonic853 e89eec1
              
                Replace Spaces with Tabs
              
              
                Sonic853 19a0e6c
              
                Merge branch 'go-gitea:main' into member-invite
              
              
                Sonic853 b41e3d9
              
                Remove js
              
              
                Sonic853 cdfa2dd
              
                add MembersInviteAction
              
              
                Sonic853 40d9bcb
              
                Merge branch 'go-gitea:main' into member-invite
              
              
                Sonic853 b5933eb
              
                change data-allow-email-description
              
              
                Sonic853 3ce1503
              
                Try writing a func (untested, continue next day)
              
              
                Sonic853 cf11b50
              
                Merge branch 'go-gitea:main' into member-invite
              
              
                Sonic853 a002f80
              
                Resolve duplicate code
              
              
                Sonic853 cd2aa28
              
                Fix errors detected by lint-backend
              
              
                Sonic853 File filter
Filter by extension
Conversations
          Failed to load comments.   
        
        
          
      Loading
        
  Jump to
        
          Jump to file
        
      
      
          Failed to load files.   
        
        
          
      Loading
        
  Diff view
Diff view
There are no files selected for viewing
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              | Original file line number | Diff line number | Diff line change | 
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| {{template "base/head" .}} | ||
| <div role="main" aria-label="{{.Title}}" class="page-content organization invitemember"> | ||
| {{template "org/header" .}} | ||
| <div class="ui container"> | ||
| {{template "base/alert" .}} | ||
| 
     | 
||
| <div class="center"> | ||
| <h1 class="ui header">{{ctx.Locale.Tr "org.members.invite_member"}}</h1> | ||
| <form class="ui form input member-invite" action="{{$.OrgLink}}/members/invite" method="post"> | ||
| <div class="inline field"> | ||
| {{.CsrfTokenHtml}} | ||
| <input type="hidden" name="uid" value="{{.SignedUser.ID}}"> | ||
| <label>{{ctx.Locale.Tr "org.members.invite"}}</label> | ||
| <div id="search-user-box" class="ui search input"{{if .IsEmailInviteEnabled}} data-allow-email="true" data-allow-email-description="{{ctx.Locale.Tr "org.members.invite_member"}}"{{end}}> | ||
| <input class="prompt" name="uname" placeholder="{{ctx.Locale.Tr "repo.settings.search_user_placeholder"}}" autocomplete="off" autofocus required> | ||
| </div> | ||
| <label>{{ctx.Locale.Tr "org.members.to"}}</label> | ||
| <select class="ui selection dropdown" name="team"> | ||
| {{range .Teams}} | ||
| <option value="{{.LowerName | PathEscape}}">{{.Name}}</option> | ||
| {{end}} | ||
| </select> | ||
| <label>{{ctx.Locale.Tr "org.members.team"}}</label> | ||
| <button class="ui primary button">{{ctx.Locale.Tr "org.members.invite_now"}}</button> | ||
| </div> | ||
| </form> | ||
| </div> | ||
| </div> | ||
| </div> | ||
| {{template "base/footer" .}} | 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
              
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
Uh oh!
There was an error while loading. Please reload this page.