% if @project.boards.any? %>
<%= l(:label_board) %> | <%= l(:field_description) %> | ||
---|---|---|---|
<%=h board.name %> | <%=h board.description %> | <% if authorize_for("boards", "edit") %> <%= reorder_links('board', {:controller => 'boards', :action => 'update', :project_id => @project, :id => board}, :put) %> <% end %> | <% if User.current.allowed_to?(:manage_boards, @project) %> <%= link_to l(:button_edit), edit_project_board_path(@project, board), :class => 'icon icon-edit' %> <%= delete_link project_board_path(@project, board) %> <% end %> |
<%= l(:label_no_data) %>
<% end %> <% if User.current.allowed_to?(:manage_boards, @project) %><%= link_to l(:label_board_new), new_project_board_path(@project), :class => 'icon icon-add' %>
<% end %>