##// END OF EJS Templates
Add links to forums....
Jean-Philippe Lang -
r9941:9ef719f15e91
parent child
Show More
@@ -1,36 +1,36
1 1 <% if @project.boards.any? %>
2 2 <table class="list">
3 3 <thead><tr>
4 4 <th><%= l(:label_board) %></th>
5 5 <th><%= l(:field_description) %></th>
6 6 <th></th>
7 7 <th></th>
8 8 </tr></thead>
9 9 <tbody>
10 10 <% @project.boards.each do |board|
11 11 next if board.new_record? %>
12 12 <tr class="<%= cycle 'odd', 'even' %>">
13 <td><%=h board.name %></td>
13 <td><%= link_to board.name, project_board_path(@project, board) %></td>
14 14 <td><%=h board.description %></td>
15 15 <td align="center">
16 16 <% if authorize_for("boards", "edit") %>
17 17 <%= reorder_links('board', {:controller => 'boards', :action => 'update', :project_id => @project, :id => board}, :put) %>
18 18 <% end %>
19 19 </td>
20 20 <td class="buttons">
21 21 <% if User.current.allowed_to?(:manage_boards, @project) %>
22 22 <%= link_to l(:button_edit), edit_project_board_path(@project, board), :class => 'icon icon-edit' %>
23 23 <%= delete_link project_board_path(@project, board) %>
24 24 <% end %>
25 25 </td>
26 26 </tr>
27 27 <% end %>
28 28 </tbody>
29 29 </table>
30 30 <% else %>
31 31 <p class="nodata"><%= l(:label_no_data) %></p>
32 32 <% end %>
33 33
34 34 <% if User.current.allowed_to?(:manage_boards, @project) %>
35 35 <p><%= link_to l(:label_board_new), new_project_board_path(@project), :class => 'icon icon-add' %></p>
36 36 <% end %>
General Comments 0
You need to be logged in to leave comments. Login now