mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-20 20:07:03 +01:00
Fix invite display (#24447)
Regression of #23901 Before ![grafik](https://user-images.githubusercontent.com/1666336/235371271-f4d06df5-97a0-43bc-b905-5fcdc5666b29.png) After ![grafik](https://user-images.githubusercontent.com/1666336/235371311-5c03003e-b628-4721-93a6-4e2b1ada4d87.png) --------- Co-authored-by: Giteabot <teabot@gitea.io>
This commit is contained in:
parent
da65b7ad47
commit
df00ccacc9
1 changed files with 3 additions and 3 deletions
|
@ -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}}
|
||||
|
|
Loading…
Reference in a new issue