<%= 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) %>

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

<%= l(:label_no_data) %>

<% end %>