From: Simon Brandhof Date: Fri, 12 Aug 2011 10:30:52 +0000 (+0200) Subject: SONAR-2690 Anonymous access : add a title above the project list in the Quality Profi... X-Git-Tag: 2.11^2~164 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=7d790c062ed63a895ee7e42725eb8aca62528be3;p=sonarqube.git SONAR-2690 Anonymous access : add a title above the project list in the Quality Profile 'projects' tab --- diff --git a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties index 12e43941c36..bb6d13e93fe 100644 --- a/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties +++ b/plugins/sonar-l10n-en-plugin/src/main/resources/org/sonar/l10n/core.properties @@ -623,6 +623,7 @@ quality_profiles.profile_inheritance=Profile inheritance quality_profiles.available_projects=Available projects quality_profiles.associated_projects=Associated projects quality_profiles.no_projects_associated_to_profile_x=No projects are explicitly associated to the profile "{0}". +quality_profiles.projects_warning=List of projects explicitly associated to this Quality profile : quality_profiles.no_permalinks=No permalinks quality_profiles.including_x_overriding.suffix=, incl. {0} overriding quality_profiles.profile_cant_be_edited=This profile can not be edited. diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/projects.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/projects.html.erb index ce16627b5db..dec38c67172 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/projects.html.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/profiles/projects.html.erb @@ -43,6 +43,7 @@ SelectBox.init('to'); <% if @profile.projects.empty? %>

<%= message('quality_profiles.no_projects_associated_to_profile_x', :params => @profile.name) -%>

<% else %> +

<%= message('quality_profiles.projects_warning') -%>

    <% @profile.projects.each do |project| %>
  1. <%= project.name %>