Chris@0: <%= breadcrumb link_to(l(:label_board_plural), {:controller => 'boards', :action => 'index', :project_id => @project}) %> Chris@0: Chris@0:
Chris@0: <%= link_to_if_authorized l(:label_message_new), Chris@0: {:controller => 'messages', :action => 'new', :board_id => @board}, Chris@0: :class => 'icon icon-add', Chris@0: :onclick => 'Element.show("add-message"); Form.Element.focus("message_subject"); return false;' %> Chris@0: <%= watcher_tag(@board, User.current) %> Chris@0:
Chris@0: Chris@0: Chris@0: Chris@0:

<%=h @board.name %>

Chris@0:

<%=h @board.description %>

Chris@0: Chris@0: <% if @topics.any? %> Chris@0: Chris@0: Chris@0: Chris@0: Chris@0: <%= sort_header_tag('created_on', :caption => l(:field_created_on)) %> Chris@0: <%= sort_header_tag('replies', :caption => l(:label_reply_plural)) %> Chris@0: <%= sort_header_tag('updated_on', :caption => l(:label_message_last)) %> Chris@0: Chris@0: Chris@0: <% @topics.each do |topic| %> Chris@0: Chris@0: Chris@0: Chris@0: Chris@0: Chris@0: Chris@0: Chris@0: <% end %> Chris@0: Chris@0:
<%= l(:field_subject) %><%= l(:field_author) %>
<%= link_to h(topic.subject), { :controller => 'messages', :action => 'show', :board_id => @board, :id => topic } %><%= topic.author %><%= format_time(topic.created_on) %><%= topic.replies_count %> Chris@0: <% if topic.last_reply %> Chris@0: <%= authoring topic.last_reply.created_on, topic.last_reply.author %>
Chris@0: <%= link_to_message topic.last_reply %> Chris@0: <% end %> Chris@0:
Chris@0:

<%= pagination_links_full @topic_pages, @topic_count %>

Chris@0: <% else %> Chris@0:

<%= l(:label_no_data) %>

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