@@ -1,40 +1,40 | |||||
1 | <h2><%= l(:label_board_plural) %></h2> |
|
1 | <h2><%= l(:label_board_plural) %></h2> | |
2 |
|
2 | |||
3 | <table class="list boards"> |
|
3 | <table class="list boards"> | |
4 | <thead><tr> |
|
4 | <thead><tr> | |
5 | <th><%= l(:label_board) %></th> |
|
5 | <th><%= l(:label_board) %></th> | |
6 | <th><%= l(:label_topic_plural) %></th> |
|
6 | <th><%= l(:label_topic_plural) %></th> | |
7 | <th><%= l(:label_message_plural) %></th> |
|
7 | <th><%= l(:label_message_plural) %></th> | |
8 | <th><%= l(:label_message_last) %></th> |
|
8 | <th><%= l(:label_message_last) %></th> | |
9 | </tr></thead> |
|
9 | </tr></thead> | |
10 | <tbody> |
|
10 | <tbody> | |
11 | <% for board in @boards %> |
|
11 | <% for board in @boards %> | |
12 | <tr class="<%= cycle 'odd', 'even' %>"> |
|
12 | <tr class="<%= cycle 'odd', 'even' %>"> | |
13 | <td> |
|
13 | <td> | |
14 | <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "board" %><br /> |
|
14 | <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "board" %><br /> | |
15 | <%=h board.description %> |
|
15 | <%=h board.description %> | |
16 | </td> |
|
16 | </td> | |
17 | <td align="center"><%= board.topics_count %></td> |
|
17 | <td align="center"><%= board.topics_count %></td> | |
18 | <td align="center"><%= board.messages_count %></td> |
|
18 | <td align="center"><%= board.messages_count %></td> | |
19 | <td> |
|
19 | <td> | |
20 | <small> |
|
20 | <small> | |
21 | <% if board.last_message %> |
|
21 | <% if board.last_message %> | |
22 | <%= authoring board.last_message.created_on, board.last_message.author %><br /> |
|
22 | <%= authoring board.last_message.created_on, board.last_message.author %><br /> | |
23 | <%= link_to_message board.last_message %> |
|
23 | <%= link_to_message board.last_message %> | |
24 | <% end %> |
|
24 | <% end %> | |
25 | </small> |
|
25 | </small> | |
26 | </td> |
|
26 | </td> | |
27 | </tr> |
|
27 | </tr> | |
28 | <% end %> |
|
28 | <% end %> | |
29 | </tbody> |
|
29 | </tbody> | |
30 | </table> |
|
30 | </table> | |
31 |
|
31 | |||
32 | <% other_formats_links do |f| %> |
|
32 | <% other_formats_links do |f| %> | |
33 |
|
|
33 | <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_messages => 1, :key => User.current.rss_key} %> | |
34 | <% end %> |
|
34 | <% end %> | |
35 |
|
35 | |||
36 | <% content_for :header_tags do %> |
|
36 | <% content_for :header_tags do %> | |
37 | <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %> |
|
37 | <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %> | |
38 | <% end %> |
|
38 | <% end %> | |
39 |
|
39 | |||
40 | <% html_title l(:label_board_plural) %> |
|
40 | <% html_title l(:label_board_plural) %> |
General Comments 0
You need to be logged in to leave comments.
Login now