aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2015-04-23 10:47:42 +0200
committerStas Vilchik <vilchiks@gmail.com>2015-04-23 10:53:55 +0200
commit25047109ca5426d8dd4d2002412609a7ed9828cd (patch)
tree801336e37c5d5c26cfaf8f12f0d61bfc77c3bd43
parent4847890d7a020dcd278863e0ac7484253429c4b8 (diff)
downloadsonarqube-25047109ca5426d8dd4d2002412609a7ed9828cd.tar.gz
sonarqube-25047109ca5426d8dd4d2002412609a7ed9828cd.zip
improve display of quality gates list
-rw-r--r--server/sonar-web/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs17
1 files changed, 13 insertions, 4 deletions
diff --git a/server/sonar-web/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs b/server/sonar-web/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs
index 65810bcdc41..2e92b2eedde 100644
--- a/server/sonar-web/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs
+++ b/server/sonar-web/src/main/hbs/quality-gates/quality-gate-sidebar-list-item.hbs
@@ -1,4 +1,13 @@
-{{name}}
-{{#if default}}
- <small class="note">{{t 'default'}}</small>
-{{/if}}
+<table>
+ <tr>
+ <td class="text-top">{{name}}</td>
+ <td class="text-top thin nowrap spacer-left">
+ {{#if default}}
+ <span class="badge pull-right">{{t 'default'}}</span>
+ {{/if}}
+ </td>
+ </tr>
+</table>
+
+
+