aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorJulien Lancelot <julien.lancelot@gmail.com>2013-05-31 11:24:59 +0200
committerJulien Lancelot <julien.lancelot@gmail.com>2013-05-31 11:24:59 +0200
commitaf7068a7ab88aefb32174d929669fbd23145c3bf (patch)
tree2abca8389918f4563072a29c074808fca84d59c7 /sonar-server
parent5d490dfffa66bfc7802c97ca0498331a04fc4094 (diff)
downloadsonarqube-af7068a7ab88aefb32174d929669fbd23145c3bf.tar.gz
sonarqube-af7068a7ab88aefb32174d929669fbd23145c3bf.zip
SONAR-3755 Update message when no action plan for project, replace all false-positive words by false positive
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/webapp/WEB-INF/app/views/issue/_plan_form.html.erb7
1 files changed, 6 insertions, 1 deletions
diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_plan_form.html.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_plan_form.html.erb
index 7e19c56cb29..9bb65fc8048 100644
--- a/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_plan_form.html.erb
+++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issue/_plan_form.html.erb
@@ -5,7 +5,12 @@
if plans.empty?
%>
- <span class="error"><%= message('issue.plan_must_be_created_first') -%></span>
+ <% if is_admin? %>
+ <span class="error"><%= message('issue.plan.error.plan_must_be_created_first_for_admin',
+ :params => ApplicationController.root_context + '/action_plans/index/' + @issue.projectKey()) -%></span>
+ <% else %>
+ <span class="error"><%= message('issue.plan.error.plan_must_be_created_first_for_other') -%></span>
+ <% end %>
&nbsp;<%= link_to_function message('cancel'), 'closeIssueForm(this)' -%>
<%
else