aboutsummaryrefslogtreecommitdiffstats
path: root/templates/org/team/sidebar.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/org/team/sidebar.tmpl')
-rw-r--r--templates/org/team/sidebar.tmpl7
1 files changed, 3 insertions, 4 deletions
diff --git a/templates/org/team/sidebar.tmpl b/templates/org/team/sidebar.tmpl
index cecd8ddee6..f265255256 100644
--- a/templates/org/team/sidebar.tmpl
+++ b/templates/org/team/sidebar.tmpl
@@ -83,13 +83,12 @@
</div>
{{end}}
</div>
-<div class="ui small basic delete modal" id="leave-team-sidebar">
- <div class="ui icon header">
- {{svg "octicon-x" 16 "close inside"}}
+<div class="ui gitea-confirm-modal delete modal" id="leave-team-sidebar">
+ <div class="header">
{{$.locale.Tr "org.teams.leave"}}
</div>
<div class="content">
<p>{{$.locale.Tr "org.teams.leave.detail" `<span class="name"></span>` | Safe}}</p>
</div>
- {{template "base/delete_modal_actions" .}}
+ {{template "base/modal_actions_confirm" .}}
</div>