diff options
author | KN4CK3R <admin@oldschoolhack.me> | 2023-08-08 18:28:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-08 18:28:24 +0200 |
commit | e6f8e9318b1984d3e735bff0d2eca4a22906973d (patch) | |
tree | 62e507b0a9d2ba46ea5fb09a43a7306efd56773e /templates/org | |
parent | daf709286397c30d12a75f5c7bb262486f531143 (diff) | |
download | gitea-e6f8e9318b1984d3e735bff0d2eca4a22906973d.tar.gz gitea-e6f8e9318b1984d3e735bff0d2eca4a22906973d.zip |
Use flex classes in package settings (#26314)
Regression of #25790
Fixes #26310
---------
Co-authored-by: Giteabot <teabot@gitea.io>
Diffstat (limited to 'templates/org')
-rw-r--r-- | templates/org/team/members.tmpl | 28 |
1 files changed, 17 insertions, 11 deletions
diff --git a/templates/org/team/members.tmpl b/templates/org/team/members.tmpl index 4a97763d9a..a73eb7bbd3 100644 --- a/templates/org/team/members.tmpl +++ b/templates/org/team/members.tmpl @@ -53,17 +53,23 @@ </div> {{if and .Invites $.IsOrganizationOwner}} <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 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">{{$.locale.Tr "org.members.remove"}}</button> - </form> - </div> - {{end}} + <div class="ui attached segment"> + <div class="flex-list"> + {{range .Invites}} + <div class="flex-item flex-item-center"> + <div class="flex-item-main"> + {{.Email}} + </div> + <div class="flex-item-trailing"> + <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">{{$.locale.Tr "org.members.remove"}}</button> + </form> + </div> + </div> + {{end}} + </div> </div> {{end}} </div> |