To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / boards / index.html.erb @ 1531:ae8145b28b2b
History | View | Annotate | Download (1.39 KB)
| 1 |
<h2><%= l(:label_board_plural) %></h2> |
|---|---|
| 2 |
|
| 3 |
<table class="list boards"> |
| 4 |
<thead><tr> |
| 5 |
<th><%= l(:label_board) %></th> |
| 6 |
<th><%= l(:label_topic_plural) %></th> |
| 7 |
<th><%= l(:label_message_plural) %></th> |
| 8 |
<th><%= l(:label_message_last) %></th> |
| 9 |
</tr></thead> |
| 10 |
<tbody>
|
| 11 |
<% Board.board_tree(@boards) do |board, level| %>
|
| 12 |
<tr class="<%= cycle 'odd', 'even' %>"> |
| 13 |
<td class="name" style="padding-left: <%= level * 18 %>px;"> |
| 14 |
<%= link_to h(board.name), project_board_path(board.project, board), :class => "board" %><br /> |
| 15 |
<%=h board.description %>
|
| 16 |
</td>
|
| 17 |
<td class="topic-count"><%= board.topics_count %></td> |
| 18 |
<td class="message-count"><%= board.messages_count %></td> |
| 19 |
<td class="last-message"> |
| 20 |
<% if board.last_message %>
|
| 21 |
<%= authoring board.last_message.created_on, board.last_message.author %><br /> |
| 22 |
<%= link_to_message board.last_message %>
|
| 23 |
<% end %>
|
| 24 |
</td>
|
| 25 |
</tr>
|
| 26 |
<% end %>
|
| 27 |
</tbody>
|
| 28 |
</table>
|
| 29 |
|
| 30 |
<% other_formats_links do |f| %>
|
| 31 |
<%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_messages => 1, :key => User.current.rss_key} %>
|
| 32 |
<% end %>
|
| 33 |
|
| 34 |
<% content_for :header_tags do %>
|
| 35 |
<%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %>
|
| 36 |
<% end %>
|
| 37 |
|
| 38 |
<% html_title l(:label_board_plural) %>
|