Mercurial > hg > soundsoftware-site
comparison .svn/pristine/a8/a8b00183ca19aefa144aaaa16c35a73416e33f9f.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.boards.any? %> | |
2 <table class="list"> | |
3 <thead><tr> | |
4 <th><%= l(:label_board) %></th> | |
5 <th><%= l(:field_description) %></th> | |
6 <th></th> | |
7 <th></th> | |
8 </tr></thead> | |
9 <tbody> | |
10 <% Board.board_tree(@project.boards) do |board, level| | |
11 next if board.new_record? %> | |
12 <tr class="<%= cycle 'odd', 'even' %>"> | |
13 <td style="padding-left: <%= level * 18 %>px;"><%= link_to board.name, project_board_path(@project, board) %></td> | |
14 <td><%=h board.description %></td> | |
15 <td align="center"> | |
16 <% if authorize_for("boards", "edit") %> | |
17 <%= reorder_links('board', {:controller => 'boards', :action => 'update', :project_id => @project, :id => board}, :put) %> | |
18 <% end %> | |
19 </td> | |
20 <td class="buttons"> | |
21 <% if User.current.allowed_to?(:manage_boards, @project) %> | |
22 <%= link_to l(:button_edit), edit_project_board_path(@project, board), :class => 'icon icon-edit' %> | |
23 <%= delete_link project_board_path(@project, board) %> | |
24 <% end %> | |
25 </td> | |
26 </tr> | |
27 <% end %> | |
28 </tbody> | |
29 </table> | |
30 <% else %> | |
31 <p class="nodata"><%= l(:label_no_data) %></p> | |
32 <% end %> | |
33 | |
34 <% if User.current.allowed_to?(:manage_boards, @project) %> | |
35 <p><%= link_to l(:label_board_new), new_project_board_path(@project), :class => 'icon icon-add' %></p> | |
36 <% end %> |