annotate .svn/pristine/2b/2bffeae9e506603f05893c49874a197ccc797b57.svn-base @ 1298:4f746d8966dd redmine_2.3_integration

Merge from redmine-2.3 branch to create new branch redmine-2.3-integration
author Chris Cannam
date Fri, 14 Jun 2013 09:28:30 +0100
parents 622f24f53b42
children
rev   line source
Chris@1295 1 <h2><%= l(:label_board_plural) %></h2>
Chris@1295 2
Chris@1295 3 <table class="list boards">
Chris@1295 4 <thead><tr>
Chris@1295 5 <th><%= l(:label_board) %></th>
Chris@1295 6 <th><%= l(:label_topic_plural) %></th>
Chris@1295 7 <th><%= l(:label_message_plural) %></th>
Chris@1295 8 <th><%= l(:label_message_last) %></th>
Chris@1295 9 </tr></thead>
Chris@1295 10 <tbody>
Chris@1295 11 <% Board.board_tree(@boards) do |board, level| %>
Chris@1295 12 <tr class="<%= cycle 'odd', 'even' %>">
Chris@1295 13 <td style="padding-left: <%= level * 18 %>px;">
Chris@1295 14 <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "board" %><br />
Chris@1295 15 <%=h board.description %>
Chris@1295 16 </td>
Chris@1295 17 <td class="topic-count"><%= board.topics_count %></td>
Chris@1295 18 <td class="message-count"><%= board.messages_count %></td>
Chris@1295 19 <td class="last-message">
Chris@1295 20 <% if board.last_message %>
Chris@1295 21 <%= authoring board.last_message.created_on, board.last_message.author %><br />
Chris@1295 22 <%= link_to_message board.last_message %>
Chris@1295 23 <% end %>
Chris@1295 24 </td>
Chris@1295 25 </tr>
Chris@1295 26 <% end %>
Chris@1295 27 </tbody>
Chris@1295 28 </table>
Chris@1295 29
Chris@1295 30 <% other_formats_links do |f| %>
Chris@1295 31 <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_messages => 1, :key => User.current.rss_key} %>
Chris@1295 32 <% end %>
Chris@1295 33
Chris@1295 34 <% content_for :header_tags do %>
Chris@1295 35 <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %>
Chris@1295 36 <% end %>
Chris@1295 37
Chris@1295 38 <% html_title l(:label_board_plural) %>