diff options
author | Fabrice Bellingard <bellingard@gmail.com> | 2012-03-15 19:37:54 +0100 |
---|---|---|
committer | Fabrice Bellingard <bellingard@gmail.com> | 2012-03-15 19:39:28 +0100 |
commit | ab19fa283c7c86034ebde4823b3b8675797d9fbb (patch) | |
tree | 9c76163803d8e9630267340fcca030337e60e67d /sonar-server/src/main/webapp/WEB-INF | |
parent | 938d20ed558ef13a1c6bdd97a4a95d1af4cce601 (diff) | |
download | sonarqube-ab19fa283c7c86034ebde4823b3b8675797d9fbb.tar.gz sonarqube-ab19fa283c7c86034ebde4823b3b8675797d9fbb.zip |
SONAR-3277 Improve HTML rendering
Diffstat (limited to 'sonar-server/src/main/webapp/WEB-INF')
-rw-r--r-- | sonar-server/src/main/webapp/WEB-INF/app/views/resource/_duplications.html.erb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_duplications.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_duplications.html.erb index 81bca4a8fbd..26e0575634c 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_duplications.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/resource/_duplications.html.erb @@ -4,11 +4,13 @@ warning_message = @duplication_group_warning if @duplication_group_warning %> - <%= warning_message -%> + <div id="duplications-message"><%= warning_message -%></div> <% else %> - <%= @duplication_group_warning if @duplication_group_warning -%> + <% if @duplication_group_warning %> + <div id="duplications-message"><%= @duplication_group_warning -%></div> + <% end %> <table id="duplications" class="data"> <thead> |