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

File last commit:

r14955:fb6b565a1ec9
r14955:fb6b565a1ec9
Show More
_boards.html.erb
33 lines | 1.2 KiB | text/plain | TextLexer
Jean-Philippe Lang
Application layout refactored....
r736 <% if @project.boards.any? %>
Jean-Philippe Lang
Forum list can be reordered with drag and drop (#12909)....
r14955 <div class="table-list boards">
<div class="table-list-header">
<div class="table-list-cell"><%= l(:label_board) %></div>
</div>
<%= render_boards_tree(@project.boards) do |board, level| %>
<div class="table-list-row <%= cycle 'odd', 'even' %>">
<div class="table-list-cell name" style="padding-left: <%= 2 + level * 16 %>px">
<%= link_to board.name, project_board_path(@project, board) %>
</div>
<div class="table-list-cell description"><%= board.description %></div>
<div class="table-list-cell buttons">
Jean-Philippe Lang
Resourcified boards....
r7900 <% if User.current.allowed_to?(:manage_boards, @project) %>
Jean-Philippe Lang
Forum list can be reordered with drag and drop (#12909)....
r14955 <%= reorder_handle(board) %>
Jean-Philippe Lang
Resourcified boards....
r7900 <%= 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
Forum list can be reordered with drag and drop (#12909)....
r14955 </div>
</div>
<% end %>
</div>
<%= javascript_tag do %>
$(function() { $("div.sort-level").positionedItems(); });
Jean-Philippe Lang
Per project forums added....
r526 <% end %>
Jean-Philippe Lang
Forum list can be reordered with drag and drop (#12909)....
r14955
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 %>