<%= link_to_if_authorized l(:label_settings),
{:controller => 'projects', :action => 'settings', :id => @project, :tab => 'boards'},
:class => 'icon icon-settings' if User.current.allowed_to?(:manage_boards, @project) %>
<%= l(:label_board_plural) %>
<%= l(:label_board) %> |
<%= l(:label_topic_plural) %> |
<%= l(:label_message_plural) %> |
<%= l(:label_message_last) %> |
<% Board.board_tree(@boards) do |board, level| %>
<% if level > 0 %>
<% else %>
<% end %>
<%= link_to board.name, project_board_path(board.project, board), :class => "board" %>
<%= board.description %>
|
<%= board.topics_count %> |
<%= board.messages_count %> |
<% if board.last_message %>
<%= authoring board.last_message.created_on, board.last_message.author %>
<%= link_to_message board.last_message %>
<% end %>
|
<% end %>
<% other_formats_links do |f| %>
<%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_messages => 1, :key => User.current.atom_key} %>
<% end %>
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.atom_key}) %>
<% end %>
<% html_title l(:label_board_plural) %>