% 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' %> <%= link_to l(:button_delete), project_board_path(@project, board), :confirm => l(:text_are_you_sure), :method => :delete, :class => 'icon icon-del' %> <% 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 %>