aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web/src/main/hbs/issue/issue-rule.hbs
blob: ab2a2dc93df062797b3c21e661644a24ac2aaef3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<div class="modal-container">
  <h3 class="coding-rules-detail-header">
    {{name}}
    <a class="coding-rules-detail-permalink" target="_blank" href="{{permalink}}">
      <i class="icon-link"></i> {{t 'coding_rules.permalink'}}
    </a>
  </h3>

  <span class="subtitle">{{key}}</span>

  <ul class="coding-rules-detail-properties">
    <li class="coding-rules-detail-property coding-rules-detail-tag-list">
      <i class="icon-tags"></i>
      <span>{{#if allTags}}{{join allTags ', '}}{{else}}{{t 'coding_rules.no_tags'}}{{/if}}</span>
    </li>
    {{#if debtCharName}}
      <li class="coding-rules-detail-property">{{debtCharName}}{{#if debtSubCharName}} > {{debtSubCharName}}{{/if}}</li>
    {{/if}}
  </ul>

  <div class="coding-rules-detail-description rule-desc markdown">{{{htmlDesc}}}</div>

  {{#if htmlNote}}
    <div id="coding-rules-detail-description-extra">
      <div class="rule-desc markdown">{{{htmlNote}}}</div>
    </div>
  {{/if}}
</div>

<div class="modal-foot">
  <a class="js-modal-close" href="#">{{t 'close'}}</a>
</div>