To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / projects / settings / .svn / text-base / _issue_categories.rhtml.svn-base @ 441:cbce1fd3b1b7
History | View | Annotate | Download (1.02 KB)
| 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 |
<%= link_to_if_authorized l(:button_edit), { :controller => 'issue_categories', :action => 'edit', :id => category }, :class => 'icon icon-edit' %>
|
| 16 |
<%= link_to_if_authorized l(:button_delete), {:controller => 'issue_categories', :action => 'destroy', :id => category}, :method => :post, :class => 'icon icon-del' %>
|
| 17 |
</td> |
| 18 |
</tr> |
| 19 |
<% end %> |
| 20 |
<% end %> |
| 21 |
</tbody> |
| 22 |
</table> |
| 23 |
<% else %> |
| 24 |
<p class="nodata"><%= l(:label_no_data) %></p> |
| 25 |
<% end %> |
| 26 |
|
| 27 |
<p><%= link_to_if_authorized l(:label_issue_category_new), :controller => 'issue_categories', :action => 'new', :project_id => @project %></p> |