To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / boards / index.html.erb @ 1298:4f746d8966dd

History | View | Annotate | Download (1.38 KB)

1 0:513646585e45 Chris
<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 1115:433d4f72a19b Chris
<% Board.board_tree(@boards) do |board, level| %>
12 0:513646585e45 Chris
  <tr class="<%= cycle 'odd', 'even' %>">
13 1115:433d4f72a19b Chris
    <td style="padding-left: <%= level * 18 %>px;">
14 1295:622f24f53b42 Chris
      <%= link_to h(board.name), project_board_path(board.project, board), :class => "board" %><br />
15 0:513646585e45 Chris
      <%=h board.description %>
16
    </td>
17 1115:433d4f72a19b Chris
    <td class="topic-count"><%= board.topics_count %></td>
18
    <td class="message-count"><%= board.messages_count %></td>
19
    <td class="last-message">
20 0:513646585e45 Chris
      <% if board.last_message %>
21
      <%= authoring board.last_message.created_on, board.last_message.author %><br />
22 909:cbb26bc654de Chris
      <%= link_to_message board.last_message %>
23 0:513646585e45 Chris
      <% end %>
24
    </td>
25
  </tr>
26
<% end %>
27
  </tbody>
28
</table>
29
30
<% other_formats_links do |f| %>
31 909:cbb26bc654de Chris
  <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_messages => 1, :key => User.current.rss_key} %>
32 0:513646585e45 Chris
<% end %>
33
34
<% content_for :header_tags do %>
35 22:40f7cfd4df19 chris
  <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %>
36 0:513646585e45 Chris
<% end %>
37
38
<% html_title l(:label_board_plural) %>