From: Stas Vilchik Date: Thu, 6 Feb 2014 09:38:29 +0000 (+0600) Subject: New Issues Page: fix displaying action plan for non-authorized user X-Git-Tag: 4.2~227 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=42f877c8d65e3a180576e9f9e501829ce3866ee7;p=sonarqube.git New Issues Page: fix displaying action plan for non-authorized user --- diff --git a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb index 54a6aa84112..2dde26e37c3 100644 --- a/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb +++ b/sonar-server/src/main/webapp/WEB-INF/app/views/issues/templates/_issue_detail_inner.hbs.erb @@ -76,17 +76,17 @@ {{#inArray actions "plan"}} -
  • - {{#if actionPlanName}} - <%= message('issue.planned_for') -%> {{actionPlanName}} - {{else}} - <%= message('issue.do_plan') -%> - {{/if}} +
  • + {{#if actionPlanName}} + <%= message('issue.planned_for') -%> {{actionPlanName}} + {{else}} + <%= message('issue.do_plan') -%> + {{/if}} +
  • {{else}} {{#if actionPlanName}} - <%= message('issue.planned_for') -%> {{actionPlanName}} +
  • <%= message('issue.planned_for') -%> {{actionPlanName}}
  • {{/if}} - {{/inArray}}