Skip to content

Commit

Permalink
Fix invite display (#24447)
Browse files Browse the repository at this point in the history
  • Loading branch information
KN4CK3R and GiteaBot authored May 2, 2023
1 parent da65b7a commit df00cca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/org/team/members.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,12 @@
<h4 class="ui top attached header">{{$.locale.Tr "org.teams.invite_team_member.list"}}</h4>
<div class="ui bottom attached table segment members">
{{range .Invites}}
<div class="item">
{{.Email}}
<div class="item gt-df gt-ac gt-fw">
<span class="gt-f1">{{.Email}}</span>
<form action="{{$.OrgLink}}/teams/{{$.Team.LowerName | PathEscape}}/action/remove_invite" method="post">
{{$.CsrfTokenHtml}}
<input type="hidden" name="iid" value="{{.ID}}">
<button class="ui red button gt-float-right">{{$.locale.Tr "org.members.remove"}}</button>
<button class="ui red button">{{$.locale.Tr "org.members.remove"}}</button>
</form>
</div>
{{end}}
Expand Down

0 comments on commit df00cca

Please sign in to comment.