diff options
Diffstat (limited to 'server')
2 files changed, 8 insertions, 2 deletions
diff --git a/server/sonar-web/src/main/js/apps/coding-rules/templates/coding-rules-workspace-list-item.hbs b/server/sonar-web/src/main/js/apps/coding-rules/templates/coding-rules-workspace-list-item.hbs index be7aa781008..e1b7cc0dc81 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/templates/coding-rules-workspace-list-item.hbs +++ b/server/sonar-web/src/main/js/apps/coding-rules/templates/coding-rules-workspace-list-item.hbs @@ -23,7 +23,9 @@ <td class="coding-rule-table-meta-cell"> <div class="coding-rule-meta"> {{#notEq status 'READY'}} - <span class="text-danger">{{status}}</span> + <span class="badge badge-normal-size badge-danger-light"> + {{t 'rules.status' status}} + </span> {{/notEq}} <span class="note">{{langName}}</span> diff --git a/server/sonar-web/src/main/js/apps/coding-rules/templates/rule/coding-rules-rule-meta.hbs b/server/sonar-web/src/main/js/apps/coding-rules/templates/rule/coding-rules-rule-meta.hbs index 33919a00353..902287efe84 100644 --- a/server/sonar-web/src/main/js/apps/coding-rules/templates/rule/coding-rules-rule-meta.hbs +++ b/server/sonar-web/src/main/js/apps/coding-rules/templates/rule/coding-rules-rule-meta.hbs @@ -27,7 +27,11 @@ {{#notEq status 'READY'}} <li class="coding-rules-detail-property" - data-toggle="tooltip" data-placement="bottom" title="Rule status">{{status}}</li> + data-toggle="tooltip" data-placement="bottom" title="Rule status"> + <span class="badge badge-normal-size badge-danger-light"> + {{t 'rules.status' status}} + </span> + </li> {{/notEq}} <li class="coding-rules-detail-property coding-rules-detail-tag-list {{#if canWrite}}coding-rules-detail-tags-change{{/if}}" |