aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/js/apps/coding-rules/templates/rule/coding-rules-rule-issues.hbs
blob: da9a5336d36eecd3ab63f6b62e0697632ab9edeb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<div class="coding-rule-section-separator"></div>

<h3 class="coding-rules-detail-title">
  {{t 'coding_rules.issues'}} (<a class="js-rule-issues" href="{{baseSearchUrl}}">{{total}}</a>)
</h3>

{{#notEmpty projects}}
  <table class="coding-rules-detail-list coding-rules-most-violated-projects">
    <tr>
      <td class="coding-rules-detail-list-name" colspan="2">{{t 'coding_rules.most_violated_projects'}}</td>
    </tr>
    {{#each projects}}
      <tr>
        <td class="coding-rules-detail-list-name">{{name}}</td>
        <td class="coding-rules-detail-list-parameters">
          <a href="{{../baseSearchUrl}}|projectUuids={{val}}" target="_blank">{{count}}</a>
        </td>
      </tr>
    {{/each}}
  </table>
{{/notEmpty}}