]> source.dussan.org Git - sonarqube.git/blob
84f89974491327fab75993a3e19ff7fce2259912
[sonarqube.git] /
1 {{#each activeProfiles}}
2   {{severityIcon severity}}
3
4   {{#eq inherit 'OVERRIDES'}}
5     <i class="icon-inheritance" title="{{tp 'coding_rules.overrides' name parent.name}}"></i>
6   {{/eq}}
7   {{#eq inherit 'INHERITED'}}
8     <i class="icon-inheritance" title="{{tp 'coding_rules.inherits' name parent.name}}"></i>
9   {{/eq}}
10
11   {{#if ../canWrite}}
12     <div class="button-group">
13       {{#unless isTemplate}}
14         <button class="coding-rules-detail-quality-profile-change">{{t 'change_verb'}}</button>
15       {{/unless}}
16       {{#if parent}}
17         {{#eq inherit 'OVERRIDES'}}
18           <button class="coding-rules-detail-quality-profile-revert button-red">
19             {{t 'coding_rules.revert_to_parent_definition'}}
20           </button>
21         {{/eq}}
22       {{else}}
23         <button class="coding-rules-detail-quality-profile-deactivate button-red">
24           {{t 'coding_rules.deactivate'}}
25         </button>
26       {{/if}}
27     </div>
28   {{/if}}
29 {{/each}}