diff options
Diffstat (limited to 'templates/org')
-rw-r--r-- | templates/org/member/members.tmpl | 14 | ||||
-rw-r--r-- | templates/org/settings/delete.tmpl | 6 | ||||
-rw-r--r-- | templates/org/team/members.tmpl | 7 | ||||
-rw-r--r-- | templates/org/team/new.tmpl | 6 | ||||
-rw-r--r-- | templates/org/team/repositories.tmpl | 12 | ||||
-rw-r--r-- | templates/org/team/sidebar.tmpl | 7 | ||||
-rw-r--r-- | templates/org/team/teams.tmpl | 7 |
7 files changed, 27 insertions, 32 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" .}} diff --git a/templates/org/settings/delete.tmpl b/templates/org/settings/delete.tmpl index 69e226f410..e8a8f5b185 100644 --- a/templates/org/settings/delete.tmpl +++ b/templates/org/settings/delete.tmpl @@ -29,14 +29,14 @@ </div> </div> -<div class="ui small basic delete modal"> - <div class="ui icon header"> +<div class="ui gitea-confirm-modal delete modal"> + <div class="header"> {{svg "octicon-trash"}} {{.locale.Tr "org.settings.delete_org_title"}} </div> <div class="content"> <p>{{.locale.Tr "org.settings.delete_org_desc"}}</p> </div> - {{template "base/delete_modal_actions" .}} + {{template "base/modal_actions_confirm" .}} </div> {{template "base/footer" .}} diff --git a/templates/org/team/members.tmpl b/templates/org/team/members.tmpl index bb975c0c4d..e387090b3b 100644 --- a/templates/org/team/members.tmpl +++ b/templates/org/team/members.tmpl @@ -64,14 +64,13 @@ </div> </div> </div> -<div class="ui small basic delete modal" id="remove-team-member"> - <div class="ui icon header"> - {{svg "octicon-x" 16 "close inside"}} +<div class="ui gitea-confirm-modal delete modal" id="remove-team-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="dataTeamName"></span>` | Safe}}</p> </div> - {{template "base/delete_modal_actions" .}} + {{template "base/modal_actions_confirm" .}} </div> {{template "base/footer" .}} diff --git a/templates/org/team/new.tmpl b/templates/org/team/new.tmpl index 2e65d63580..2860ea497b 100644 --- a/templates/org/team/new.tmpl +++ b/templates/org/team/new.tmpl @@ -148,14 +148,14 @@ </div> </div> -<div class="ui small basic delete modal"> - <div class="ui icon header"> +<div class="ui gitea-confirm-modal delete modal"> + <div class="header"> {{svg "octicon-trash"}} {{.locale.Tr "org.teams.delete_team_title"}} </div> <div class="content"> <p>{{.locale.Tr "org.teams.delete_team_desc"}}</p> </div> - {{template "base/delete_modal_actions" .}} + {{template "base/modal_actions_confirm" .}} </div> {{template "base/footer" .}} diff --git a/templates/org/team/repositories.tmpl b/templates/org/team/repositories.tmpl index 0ffd50226f..41561da311 100644 --- a/templates/org/team/repositories.tmpl +++ b/templates/org/team/repositories.tmpl @@ -64,26 +64,26 @@ </div> </div> -<div class="ui small basic delete modal" id="org-team-remove-all-repo"> - <div class="ui icon header"> +<div class="ui gitea-confirm-modal delete modal" id="org-team-remove-all-repo"> + <div class="header"> {{svg "octicon-trash"}} {{.locale.Tr "org.teams.remove_all_repos_title"}} </div> <div class="content"> <p>{{.locale.Tr "org.teams.remove_all_repos_desc"}}</p> </div> - {{template "base/delete_modal_actions" .}} + {{template "base/modal_actions_confirm" .}} </div> -<div class="ui small basic addall modal" id="org-team-add-all-repo"> - <div class="ui icon header"> +<div class="ui gitea-confirm-modal addall modal" id="org-team-add-all-repo"> + <div class="header"> {{svg "octicon-globe"}} {{.locale.Tr "org.teams.add_all_repos_title"}} </div> <div class="content"> <p>{{.locale.Tr "org.teams.add_all_repos_desc"}}</p> </div> - {{template "base/delete_modal_actions" .}} + {{template "base/modal_actions_confirm" .}} </div> {{template "base/footer" .}} 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> diff --git a/templates/org/team/teams.tmpl b/templates/org/team/teams.tmpl index 27bbe80a3c..c31b6caf1c 100644 --- a/templates/org/team/teams.tmpl +++ b/templates/org/team/teams.tmpl @@ -43,14 +43,13 @@ </div> </div> </div> -<div class="ui small basic delete modal" id="leave-team"> - <div class="ui icon header"> - {{svg "octicon-x" 16 "close inside"}} +<div class="ui gitea-confirm-modal delete modal" id="leave-team"> + <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> {{template "base/footer" .}} |