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 />
|
2007-05-13 21:09:56 +04:00
|
|
|
<%= link_to_message board.last_message %>
|
|
|
|
<% 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| %>
|
|
|
|
<%= f.link_to 'Atom', :url => {:controller => 'projects', :action => 'activity', :id => @project, :show_messages => 1, :key => User.current.rss_key} %>
|
|
|
|
<% end %>
|
2008-03-09 23:16:48 +03:00
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<%= auto_discovery_link_tag(:atom, {:controller => 'projects', :action => 'activity', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %>
|
|
|
|
<% end %>
|
2008-06-29 13:08:58 +04:00
|
|
|
|
|
|
|
<% html_title l(:label_board_plural) %>
|