mirror of
1
Fork 0

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:
KN4CK3R 2023-05-02 09:59:31 +02:00 committed by GitHub
parent da65b7ad47
commit df00ccacc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -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}}