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
|
@ -49,12 +49,12 @@
|
||||||
<h4 class="ui top attached header">{{$.locale.Tr "org.teams.invite_team_member.list"}}</h4>
|
<h4 class="ui top attached header">{{$.locale.Tr "org.teams.invite_team_member.list"}}</h4>
|
||||||
<div class="ui bottom attached table segment members">
|
<div class="ui bottom attached table segment members">
|
||||||
{{range .Invites}}
|
{{range .Invites}}
|
||||||
<div class="item">
|
<div class="item gt-df gt-ac gt-fw">
|
||||||
{{.Email}}
|
<span class="gt-f1">{{.Email}}</span>
|
||||||
<form action="{{$.OrgLink}}/teams/{{$.Team.LowerName | PathEscape}}/action/remove_invite" method="post">
|
<form action="{{$.OrgLink}}/teams/{{$.Team.LowerName | PathEscape}}/action/remove_invite" method="post">
|
||||||
{{$.CsrfTokenHtml}}
|
{{$.CsrfTokenHtml}}
|
||||||
<input type="hidden" name="iid" value="{{.ID}}">
|
<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>
|
</form>
|
||||||
</div>
|
</div>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in New Issue