diff options
Diffstat (limited to 'templates/org/member')
-rw-r--r-- | templates/org/member/members.tmpl | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/templates/org/member/members.tmpl b/templates/org/member/members.tmpl index 511d333c29..7b6c83cfcc 100644 --- a/templates/org/member/members.tmpl +++ b/templates/org/member/members.tmpl @@ -81,25 +81,23 @@ {{template "base/paginate" .}} </div> </div> -<div class="ui small basic delete modal" id="leave-organization"> - <div class="ui icon header"> - {{svg "octicon-x" 16 "close inside"}} +<div class="ui gitea-confirm-modal delete modal" id="leave-organization"> + <div class="header"> {{$.locale.Tr "org.members.leave"}} </div> <div class="content"> <p>{{$.locale.Tr "org.members.leave.detail" `<span class="dataOrganizationName"></span>` | Safe}}</p> </div> - {{template "base/delete_modal_actions" .}} + {{template "base/modal_actions_confirm" .}} </div> -<div class="ui small basic delete modal" id="remove-organization-member"> - <div class="ui icon header"> - {{svg "octicon-x" 16 "close inside"}} +<div class="ui gitea-confirm-modal delete modal" id="remove-organization-member"> + <div class="header"> {{$.locale.Tr "org.members.remove"}} </div> <div class="content"> <p>{{$.locale.Tr "org.members.remove.detail" `<span class="name"></span>` `<span class="dataOrganizationName"></span>` | Safe}}</p> </div> - {{template "base/delete_modal_actions" .}} + {{template "base/modal_actions_confirm" .}} </div> {{template "base/footer" .}} |