serializeData: ->
_.extend super,
permalink: "#{baseUrl}/coding_rules#rule_key=#{@model.get('key')}"
+ allTags: _.union @model.get('sysTags'), @model.get('tags')
<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>
<div class="modal-foot">
<ul>
<li><span class="shortcut-button">c</span> to confirm/unconfirm</li>
<li><span class="shortcut-button">r</span> to resolve/reopen</li>
- <li><span class="shortcut-button">f</span> to mark as false-positive</li>
+ <li><span class="shortcut-button">f</span> to mark as false positive</li>
<li><span class="shortcut-button">a</span> to assign</li>
<li><span class="shortcut-button">m</span> to assign to the current user</li>
<li><span class="shortcut-button">p</span> to plan</li>