Chris@909: <% if @project.issue_categories.any? %> Chris@909: Chris@909: Chris@909: Chris@909: Chris@909: Chris@909: Chris@909: Chris@909: <% for category in @project.issue_categories %> Chris@909: <% unless category.new_record? %> Chris@909: Chris@909: Chris@909: Chris@909: Chris@909: Chris@909: <% end %> Chris@909: <% end %> Chris@909: Chris@909:
<%= l(:label_issue_category) %><%= l(:field_assigned_to) %>
<%=h(category.name) %><%=h(category.assigned_to.name) if category.assigned_to %> Chris@909: <% if User.current.allowed_to?(:manage_categories, @project) %> Chris@909: <%= link_to l(:button_edit), edit_issue_category_path(category), :class => 'icon icon-edit' %> Chris@909: <%= link_to l(:button_delete), issue_category_path(category), :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' %> Chris@909: <% end %> Chris@909:
Chris@909: <% else %> Chris@909:

<%= l(:label_no_data) %>

Chris@909: <% end %> Chris@909: Chris@909:

<%= link_to l(:label_issue_category_new), new_project_issue_category_path(@project), :class => 'icon icon-add' if User.current.allowed_to?(:manage_categories, @project) %>