]> source.dussan.org Git - sonarqube.git/blob
34b12f6ebef5c97f553148616f6b76c375748d1f
[sonarqube.git] /
1 <script id="quality-gate-edit-template" type="text/x-handlebars-template">
2   <form>
3     <div class="modal-head">
4       {{#eq method "rename"}}<h2><%= message('quality_gates.rename') -%> {{name}}</h2>{{/eq}}
5       {{#eq method "copy"}}<h2><%= message('quality_gates.copy') -%> {{name}}</h2>{{/eq}}
6       {{#eq method "create"}}<h2><%= message('quality_gates.add') -%></h2>{{/eq}}
7     </div>
8
9     <div class="modal-body">
10       <div class="modal-error"></div>
11       <div class="modal-field">
12         <label for="quality-gate-edit-name"><%= message('name') -%> <em class="mandatory">*</em></label>
13         <input id="quality-gate-edit-name" type="text" size="50" maxlength="100">
14       </div>
15     </div>
16
17     <div class="modal-foot">
18       {{#eq method "rename"}}<button><%= message('save') -%></button>{{/eq}}
19       {{#eq method "copy"}}<button><%= message('copy') -%></button>{{/eq}}
20       {{#eq method "create"}}<button><%= message('create') -%></button>{{/eq}}
21       <a id="quality-gate-cancel-create" class="action"><%= message('cancel') -%></a>
22     </div>
23   </form>
24 </script>