index.html.erb
38 lines
| 1.4 KiB
| text/plain
|
TextLexer
|
r526 | <h2><%= l(:label_board_plural) %></h2> | ||
|
r1210 | <table class="list boards"> | ||
|
r526 | <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> | ||||
|
r9959 | <% Board.board_tree(@boards) do |board, level| %> | ||
|
r526 | <tr class="<%= cycle 'odd', 'even' %>"> | ||
|
r9959 | <td style="padding-left: <%= level * 18 %>px;"> | ||
|
r10842 | <%= link_to h(board.name), project_board_path(board.project, board), :class => "board" %><br /> | ||
|
r526 | <%=h board.description %> | ||
</td> | ||||
|
r9934 | <td class="topic-count"><%= board.topics_count %></td> | ||
<td class="message-count"><%= board.messages_count %></td> | ||||
<td class="last-message"> | ||||
|
r526 | <% if board.last_message %> | ||
|
r913 | <%= authoring board.last_message.created_on, board.last_message.author %><br /> | ||
|
r7139 | <%= link_to_message board.last_message %> | ||
|
r526 | <% end %> | ||
</td> | ||||
</tr> | ||||
<% end %> | ||||
</tbody> | ||||
</table> | ||||
|
r1210 | |||
|
r2331 | <% other_formats_links do |f| %> | ||
|
r7200 | <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_messages => 1, :key => User.current.rss_key} %> | ||
|
r2331 | <% end %> | ||
|
r1210 | |||
<% content_for :header_tags do %> | ||||
|
r3933 | <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %> | ||
|
r1210 | <% end %> | ||
|
r1584 | |||
<% html_title l(:label_board_plural) %> | ||||