Mercurial > hg > soundsoftware-site
comparison .svn/pristine/58/58549b3a041016c433eee9a2dcd21e1765215d6e.svn-base @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1295:622f24f53b42 |
---|---|
1 <% if @project.issue_categories.any? %> | |
2 <table class="list"> | |
3 <thead><tr> | |
4 <th><%= l(:label_issue_category) %></th> | |
5 <th><%= l(:field_assigned_to) %></th> | |
6 <th></th> | |
7 </tr></thead> | |
8 <tbody> | |
9 <% for category in @project.issue_categories %> | |
10 <% unless category.new_record? %> | |
11 <tr class="<%= cycle 'odd', 'even' %>"> | |
12 <td><%=h(category.name) %></td> | |
13 <td><%=h(category.assigned_to.name) if category.assigned_to %></td> | |
14 <td class="buttons"> | |
15 <% if User.current.allowed_to?(:manage_categories, @project) %> | |
16 <%= link_to l(:button_edit), edit_issue_category_path(category), :class => 'icon icon-edit' %> | |
17 <%= delete_link issue_category_path(category) %> | |
18 <% end %> | |
19 </td> | |
20 </tr> | |
21 <% end %> | |
22 <% end %> | |
23 </tbody> | |
24 </table> | |
25 <% else %> | |
26 <p class="nodata"><%= l(:label_no_data) %></p> | |
27 <% end %> | |
28 | |
29 <p><%= 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) %></p> |