<%= board_breadcrumb(@board) %>
<%= link_to l(:label_message_new), new_board_message_path(@board), :class => 'icon icon-add', :onclick => 'showAndScrollTo("add-message", "message_subject"); return false;' if User.current.allowed_to?(:add_messages, @board.project) %> <%= watcher_link(@board, User.current) %> <%= 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) %>

<%= @board.name %>

<%= @board.description %>

<% if @topics.any? %> <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> <%= sort_header_tag('replies', :caption => l(:label_reply_plural)) %> <%= sort_header_tag('updated_on', :caption => l(:label_message_last)) %> <% @topics.each do |topic| %> <% end %>
<%= l(:field_subject) %> <%= l(:field_author) %>
<%= link_to topic.subject, board_message_path(@board, topic) %> <%= link_to_user(topic.author) %> <%= format_time(topic.created_on) %> <%= topic.replies_count %> <% if topic.last_reply %> <%= authoring topic.last_reply.created_on, topic.last_reply.author %>
<%= link_to_message topic.last_reply %> <% end %>
<%= pagination_links_full @topic_pages, @topic_count %> <% else %>

<%= l(:label_no_data) %>

<% end %> <% other_formats_links do |f| %> <%= f.link_to 'Atom', :url => {:key => User.current.atom_key} %> <% end %> <% html_title @board.name %> <% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, {:format => 'atom', :key => User.current.atom_key}, :title => "#{@project}: #{@board}") %> <% end %>