aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-server
diff options
context:
space:
mode:
authorStas Vilchik <vilchiks@gmail.com>2014-07-10 14:13:46 +0600
committerStas Vilchik <vilchiks@gmail.com>2014-07-10 16:23:00 +0600
commitf692f89731e29cb1d01b1545e64fd12f381bdb13 (patch)
tree77ad6e3ba82118e297197ba03ca3f8bb16948f1a /sonar-server
parentf1fa4be793dcadbd6628150d24e441c2095e0a54 (diff)
downloadsonarqube-f692f89731e29cb1d01b1545e64fd12f381bdb13.tar.gz
sonarqube-f692f89731e29cb1d01b1545e64fd12f381bdb13.zip
Issue when trying to plan an issue and no action plan exists
Diffstat (limited to 'sonar-server')
-rw-r--r--sonar-server/src/main/hbs/issues/plan-form.hbs8
1 files changed, 2 insertions, 6 deletions
diff --git a/sonar-server/src/main/hbs/issues/plan-form.hbs b/sonar-server/src/main/hbs/issues/plan-form.hbs
index 3d96e6e6a72..341068e5a96 100644
--- a/sonar-server/src/main/hbs/issues/plan-form.hbs
+++ b/sonar-server/src/main/hbs/issues/plan-form.hbs
@@ -11,10 +11,6 @@
</select>
<input id="issue-plan-submit" type="submit" value="{{t 'issue.plan.submit'}}">&nbsp;
{{else}}
- <% if is_admin? %>
- <span class="error">{{t 'issue.plan.error.plan_must_be_created_first_for_admin'}}</span>
- <% else %>
- <span class="error">{{t 'issue.plan.error.plan_must_be_created_first_for_other'}}</span>
- <% end %>
+ <span class="error">{{t 'issue.plan.error.plan_must_be_created_first'}}</span>
{{/if}}
-<a id="issue-plan-cancel" class="action">{{t 'cancel'}}</a> \ No newline at end of file
+<a id="issue-plan-cancel" class="action">{{t 'cancel'}}</a>