diff options
author | Stas Vilchik <vilchiks@gmail.com> | 2016-07-29 10:40:27 +0200 |
---|---|---|
committer | Stas Vilchik <vilchiks@gmail.com> | 2016-07-29 10:40:36 +0200 |
commit | 8e8de73e9bb53bc2e87ab968244141d9c1e314c9 (patch) | |
tree | e7ef3c9cf2be004b451bd3d6f83820c1b2294991 /server/sonar-web/src/main/js/apps | |
parent | c47d03434fb4ac172eb6eaf76e8057d465ec9d3a (diff) | |
download | sonarqube-8e8de73e9bb53bc2e87ab968244141d9c1e314c9.tar.gz sonarqube-8e8de73e9bb53bc2e87ab968244141d9c1e314c9.zip |
improve ui consistency of rule "deprecated" badges
Diffstat (limited to 'server/sonar-web/src/main/js/apps')
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}}" |