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 @ 912:5e80956cc792

History | View | Annotate | Download (1.3 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
<% for board in @boards %>
12
  <tr class="<%= cycle 'odd', 'even' %>">
13
    <td>
14
      <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "board"  %><br />
15
      <%=h board.description %>
16
    </td>
17
    <td align="center"><%= board.topics_count %></td>
18
    <td align="center"><%= board.messages_count %></td>
19
    <td>
20
    <small>
21
      <% if board.last_message %>
22
      <%= authoring board.last_message.created_on, board.last_message.author %><br />
23 909:cbb26bc654de Chris
      <%= link_to_message board.last_message %>
24 0:513646585e45 Chris
      <% end %>
25
    </small>
26
    </td>
27
  </tr>
28
<% end %>
29
  </tbody>
30
</table>
31
32
<% other_formats_links do |f| %>
33 909:cbb26bc654de Chris
  <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_messages => 1, :key => User.current.rss_key} %>
34 0:513646585e45 Chris
<% end %>
35
36
<% content_for :header_tags do %>
37 22:40f7cfd4df19 chris
  <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %>
38 0:513646585e45 Chris
<% end %>
39
40
<% html_title l(:label_board_plural) %>