aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/quality-gates/templates/quality-gates-delete.hbs
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web/src/main/js/apps/quality-gates/templates/quality-gates-delete.hbs')
-rw-r--r--server/sonar-web/src/main/js/apps/quality-gates/templates/quality-gates-delete.hbs17
1 files changed, 17 insertions, 0 deletions
diff --git a/server/sonar-web/src/main/js/apps/quality-gates/templates/quality-gates-delete.hbs b/server/sonar-web/src/main/js/apps/quality-gates/templates/quality-gates-delete.hbs
new file mode 100644
index 00000000000..c146c581bae
--- /dev/null
+++ b/server/sonar-web/src/main/js/apps/quality-gates/templates/quality-gates-delete.hbs
@@ -0,0 +1,17 @@
+<form id="delete-gate-form">
+ <div class="modal-head">
+ <h2>{{t 'quality_gates.delete'}}</h2>
+ </div>
+ <div class="modal-body">
+ <div class="js-modal-messages"></div>
+ {{#if isDefault}}
+ {{tp 'quality_gates.delete.confirm.default' name}}
+ {{else}}
+ {{tp 'quality_gates.delete.confirm.message' name}}
+ {{/if}}
+ </div>
+ <div class="modal-foot">
+ <button id="delete-gate-submit">{{t 'delete'}}</button>
+ <a href="#" class="js-modal-close" id="delete-gate-cancel">{{t 'cancel'}}</a>
+ </div>
+</form>