2007-05-13 21:09:56 +04:00
|
|
|
<h2><%= l(:label_board_plural) %></h2>
|
|
|
|
|
2008-03-09 23:16:48 +03:00
|
|
|
<table class="list boards">
|
2007-05-13 21:09:56 +04:00
|
|
|
<thead><tr>
|
|
|
|
<th><%= l(:label_board) %></th>
|
|
|
|
<th><%= l(:label_topic_plural) %></th>
|
|
|
|
<th><%= l(:label_message_plural) %></th>
|
|
|
|
<th><%= l(:label_message_last) %></th>
|
|
|
|
</tr></thead>
|
|
|
|
<tbody>
|
2012-07-31 21:17:52 +04:00
|
|
|
<% Board.board_tree(@boards) do |board, level| %>
|
2007-05-13 21:09:56 +04:00
|
|
|
<tr class="<%= cycle 'odd', 'even' %>">
|
2013-11-12 01:01:21 +04:00
|
|
|
<td class="name" style="padding-left: <%= level * 18 %>px;">
|
2012-12-22 19:57:07 +04:00
|
|
|
<%= link_to h(board.name), project_board_path(board.project, board), :class => "board" %><br />
|
2007-05-13 21:09:56 +04:00
|
|
|
<%=h board.description %>
|
|
|
|
</td>
|
2012-07-29 15:23:59 +04:00
|
|
|
<td class="topic-count"><%= board.topics_count %></td>
|
|
|
|
<td class="message-count"><%= board.messages_count %></td>
|
|
|
|
<td class="last-message">
|
2007-05-13 21:09:56 +04:00
|
|
|
<% if board.last_message %>
|
2007-11-24 15:25:07 +03:00
|
|
|
<%= authoring board.last_message.created_on, board.last_message.author %><br />
|
2011-09-17 03:54:19 +04:00
|
|
|
<%= link_to_message board.last_message %>
|
2007-05-13 21:09:56 +04:00
|
|
|
<% end %>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
<% end %>
|
|
|
|
</tbody>
|
|
|
|
</table>
|
2008-03-09 23:16:48 +03:00
|
|
|
|
2009-01-29 16:53:17 +03:00
|
|
|
<% other_formats_links do |f| %>
|
2011-09-17 12:43:43 +04:00
|
|
|
<%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_messages => 1, :key => User.current.rss_key} %>
|
2009-01-29 16:53:17 +03:00
|
|
|
<% end %>
|
2008-03-09 23:16:48 +03:00
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
2010-08-27 18:05:54 +04:00
|
|
|
<%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %>
|
2008-03-09 23:16:48 +03:00
|
|
|
<% end %>
|
2008-06-29 13:08:58 +04:00
|
|
|
|
|
|
|
<% html_title l(:label_board_plural) %>
|