From c3f9575eaf05c2729161bcd7880544dd0777891c Mon Sep 17 00:00:00 2001 From: Jean-Philippe Lang Date: Mon, 28 Jul 2008 18:00:30 +0000 Subject: [PATCH] Adds category to the issue context menu (#1684). git-svn-id: http://redmine.rubyforge.org/svn/trunk@1707 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/views/issues/context_menu.rhtml | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/app/views/issues/context_menu.rhtml b/app/views/issues/context_menu.rhtml index af56782e..0cdcd473 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) %>