From: Jean-Philippe Lang Date: Mon, 28 Jul 2008 18:00:30 +0000 (+0000) Subject: Adds category to the issue context menu (#1684). X-Git-Tag: 0.8.0-RC1~313 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=c3f9575eaf05c2729161bcd7880544dd0777891c;p=redmine.git Adds category to the issue context menu (#1684). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1707 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- diff --git a/app/views/issues/context_menu.rhtml b/app/views/issues/context_menu.rhtml index af56782e8..0cdcd4733 100644 --- a/app/views/issues/context_menu.rhtml +++ b/app/views/issues/context_menu.rhtml @@ -44,6 +44,19 @@ :selected => @issue.assigned_to.nil?, :disabled => !@can[:update] %> + <% unless @project.issue_categories.empty? -%> +
  • + <%= l(:field_category) %> + +
  • + <% end -%>
  • <%= l(:field_done_ratio) %>