##// END OF EJS Templates
Lists can be reordered with drag and drop (#12909)....
Lists can be reordered with drag and drop (#12909). git-svn-id: http://svn.redmine.org/redmine/trunk@15336 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r13661:b778c51e9049
r14954:42b5c332b2c2
Show More
_boards.html.erb
36 lines | 1.3 KiB | text/plain | TextLexer
Jean-Philippe Lang
Application layout refactored....
r736 <% if @project.boards.any? %>
Jean-Philippe Lang
Per project forums added....
r526 <table class="list">
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_boards.html.erb...
r7262 <thead><tr>
<th><%= l(:label_board) %></th>
<th><%= l(:field_description) %></th>
<th></th>
<th></th>
</tr></thead>
<tbody>
Jean-Philippe Lang
Support for subforums (#3831)....
r9959 <% Board.board_tree(@project.boards) do |board, level|
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_boards.html.erb...
r7262 next if board.new_record? %>
<tr class="<%= cycle 'odd', 'even' %>">
Jean-Philippe Lang
Removed deprecated align and width html attributes (#15307)....
r12038 <td class="name" style="padding-left: <%= level * 18 %>px;"><%= link_to board.name, project_board_path(@project, board) %></td>
Jean-Philippe Lang
Removed unneeded #h calls in views....
r13661 <td class="description"><%= board.description %></td>
Jean-Philippe Lang
Adds a CSS class for reorder links (#15307)....
r12035 <td class="reorder">
Jean-Philippe Lang
Per project forums added....
r526 <% if authorize_for("boards", "edit") %>
Jean-Philippe Lang
Resourcified boards....
r7900 <%= reorder_links('board', {:controller => 'boards', :action => 'update', :project_id => @project, :id => board}, :put) %>
Jean-Philippe Lang
Per project forums added....
r526 <% end %>
Jean-Philippe Lang
Cleaning edit/delete links style....
r2988 </td>
<td class="buttons">
Jean-Philippe Lang
Resourcified boards....
r7900 <% if User.current.allowed_to?(:manage_boards, @project) %>
<%= link_to l(:button_edit), edit_project_board_path(@project, board), :class => 'icon icon-edit' %>
Jean-Philippe Lang
Deprecated :confirm => 'Text' option....
r9754 <%= delete_link project_board_path(@project, board) %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_boards.html.erb...
r11404 <% end %>
Jean-Philippe Lang
Cleaning edit/delete links style....
r2988 </td>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_boards.html.erb...
r7262 </tr>
Jean-Philippe Lang
Per project forums added....
r526 <% end %>
Toshi MARUYAMA
replace tabs to spaces at app/views/projects/settings/_boards.html.erb...
r7262 </tbody>
Jean-Philippe Lang
Per project forums added....
r526 </table>
Jean-Philippe Lang
Application layout refactored....
r736 <% else %>
<p class="nodata"><%= l(:label_no_data) %></p>
<% end %>
Jean-Philippe Lang
Resourcified boards....
r7900 <% if User.current.allowed_to?(:manage_boards, @project) %>
<p><%= link_to l(:label_board_new), new_project_board_path(@project), :class => 'icon icon-add' %></p>
<% end %>