From 69794935cc807b943e5806e24e1dac9463ba1513 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 22 Jul 2011 15:35:32 +0200 Subject: [PATCH] Various minor improvements of UI - Rename the sidebar section 'SYSTEM' to 'CONFIGURATION' - Change the violations drilldown header in order to be consistent with all other pages - Remove the link 'Plugins' from footer (useless with Update Center) - Add a title to manual measures page --- .../src/main/resources/org/sonar/i18n/core.properties | 3 +-- .../webapp/WEB-INF/app/views/drilldown/violations.html.erb | 5 ++--- .../main/webapp/WEB-INF/app/views/layouts/_layout.html.erb | 6 ++---- .../webapp/WEB-INF/app/views/manual_measures/index.html.erb | 3 +++ .../WEB-INF/app/views/project/settings/_plugins.html.erb | 2 +- .../webapp/WEB-INF/app/views/settings/_plugins.html.erb | 2 +- 6 files changed, 10 insertions(+), 11 deletions(-) diff --git a/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties b/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties index 9fa9bd00681..af97a14fad7 100644 --- a/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties +++ b/plugins/sonar-i18n-en-plugin/src/main/resources/org/sonar/i18n/core.properties @@ -248,12 +248,11 @@ layout.print=Print layout.permalink=Permalink layout.sonar.slogan=Embrace Quality layout.powered_by=Powered by -layout.plugins=Plugins layout.documentation=Documentation layout.ask_a_questions=Ask a question layout.bug_feature_request=Bug/feature request -sidebar.project_system=System +sidebar.project_settings=Configuration sidebar.security=Security sidebar.system=System diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb index 081728efc6b..88b27e98560 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/drilldown/violations.html.erb @@ -6,10 +6,9 @@ <% profile_measure=@snapshot.measure(Metric::PROFILE) %> -<%= link_to_favourite(@project) -%> Version <%= @snapshot.version -%> - <%= l @snapshot.created_at %> -<% if profile_measure %> - Profile <%= link_to profile_measure.data, :controller => '/rules_configuration', :action => 'index', :id => profile_measure.value.to_i %><% end %> +<% if profile_measure %>Profile <%= link_to profile_measure.data, :controller => '/rules_configuration', :action => 'index', :id => profile_measure.value.to_i %> - <% end %> <% if @snapshot.project_snapshot.periods? %> --
+