]> source.dussan.org Git - sonarqube.git/blob
58f0df051a66f12c41ce7b17113f6b443d847e99
[sonarqube.git] /
1 <div class="source-viewer-measures-card">
2   <div class="measures">
3     <div class="measure measure-big" data-metric="violations">
4       <span class="measure-value">{{default issuesCount 0}}</span>
5       <span class="measure-name">{{t 'metric.violations.name'}}</span>
6     </div>
7     <div class="measure measure-big" data-metric="sqale_index">
8       <span class="measure-value">{{default measures.sqale_index 0}}</span>
9       <span class="measure-name">{{t 'metric.sqale_index.short_name'}}</span>
10     </div>
11   </div>
12
13   {{#if issuesCount}}
14     <div class="measures">
15       <div class="measures-list">
16         {{#each typesFacet}}
17           <div class="measure measure-one-line">
18             <span class="measure-name">{{issueType val}}</span>
19             <span class="measure-value">{{formatMeasure count 'SHORT_INT'}}</span>
20           </div>
21         {{/each}}
22       </div>
23     </div>
24
25     <div class="measures">
26       <div class="measures-list">
27         {{#each severitiesFacet}}
28           <div class="measure measure-one-line">
29             <span class="measure-name">{{severityHelper val}}</span>
30             <span class="measure-value">{{formatMeasure count 'SHORT_INT'}}</span>
31           </div>
32         {{/each}}
33       </div>
34     </div>
35
36     <div class="measures">
37       <div class="measures-list">
38         {{#each tagsFacet}}
39           <div class="measure measure-one-line">
40             <span class="measure-name"><i class="icon-tags"></i>&nbsp;{{val}}</span>
41             <span class="measure-value">{{formatMeasure count 'SHORT_INT'}}</span>
42           </div>
43         {{/each}}
44       </div>
45     </div>
46   {{/if}}
47 </div>