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>
|
|
|
|
<% for board in @boards %>
|
|
|
|
<tr class="<%= cycle 'odd', 'even' %>">
|
|
|
|
<td>
|
2009-12-17 21:52:28 +03:00
|
|
|
<%= link_to h(board.name), {:action => 'show', :id => board}, :class => "board" %><br />
|
2007-05-13 21:09:56 +04:00
|
|
|
<%=h board.description %>
|
|
|
|
</td>
|
|
|
|
<td align="center"><%= board.topics_count %></td>
|
|
|
|
<td align="center"><%= board.messages_count %></td>
|
|
|
|
<td>
|
|
|
|
<small>
|
|
|
|
<% if board.last_message %>
|
2007-11-24 15:25:07 +03:00
|
|
|
<%= authoring board.last_message.created_on, board.last_message.author %><br />
|
2011-05-30 22:52:25 +04:00
|
|
|
<%= link_to_message board.last_message %>
|
2007-05-13 21:09:56 +04:00
|
|
|
<% end %>
|
|
|
|
</small>
|
|
|
|
</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| %>
|
2010-08-27 18:05:54 +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) %>
|