From 7d790c062ed63a895ee7e42725eb8aca62528be3 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Fri, 12 Aug 2011 12:30:52 +0200 Subject: [PATCH] SONAR-2690 Anonymous access : add a title above the project list in the Quality Profile 'projects' tab --- .../src/main/resources/org/sonar/l10n/core.properties | 1 + .../src/main/webapp/WEB-INF/app/views/profiles/projects.html.erb | 1 + 2 files changed, 2 insertions(+) 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 %>
  2. -- 2.39.5