<%= link_to_if_authorized sprite_icon('settings', 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) %>

<% Board.board_tree(@boards) do |board, level| %> <% if level > 0 %> <% else %> <% end %> <% end %>
<%= l(:label_board) %> <%= l(:label_topic_plural) %> <%= l(:label_message_plural) %> <%= l(:label_message_last) %>
<%= link_to sprite_icon('comment', board.name), project_board_path(board.project, board), :class => "board icon icon-comment" %>

<%= 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 %>
<% 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) %>