From: Stas Vilchik Date: Mon, 4 May 2015 15:40:12 +0000 (+0200) Subject: SONAR-5851 apply feedback X-Git-Tag: 5.2-RC1~2068 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8e4c824e40c5e219420fea606f4d316bae1e44cb;p=sonarqube.git SONAR-5851 apply feedback --- diff --git a/server/sonar-web/src/main/hbs/quality-profiles/quality-profile-changelog.hbs b/server/sonar-web/src/main/hbs/quality-profiles/quality-profile-changelog.hbs index dfcd86e388d..92d87282448 100644 --- a/server/sonar-web/src/main/hbs/quality-profiles/quality-profile-changelog.hbs +++ b/server/sonar-web/src/main/hbs/quality-profiles/quality-profile-changelog.hbs @@ -48,11 +48,14 @@ - {{#unlessLength events totalEvents}} -

- {{t 'show_more'}} -

- {{/unlessLength}} + +

+ {{#unlessLength events totalEvents}} + {{t 'show_more'}} + {{/unlessLength}} + {{t 'hide'}} +

+ {{else}} {{#notNull totalEvents}}
{{t 'quality_profiles.changelog.empty'}}
diff --git a/server/sonar-web/src/main/hbs/quality-profiles/quality-profiles-actions.hbs b/server/sonar-web/src/main/hbs/quality-profiles/quality-profiles-actions.hbs index 24fa188c899..2d887af6df3 100644 --- a/server/sonar-web/src/main/hbs/quality-profiles/quality-profiles-actions.hbs +++ b/server/sonar-web/src/main/hbs/quality-profiles/quality-profiles-actions.hbs @@ -1,15 +1,12 @@