You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

index.html.erb 1.4KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. <h2><%= l(:label_board_plural) %></h2>
  2. <table class="list boards">
  3. <thead><tr>
  4. <th><%= l(:label_board) %></th>
  5. <th><%= l(:label_topic_plural) %></th>
  6. <th><%= l(:label_message_plural) %></th>
  7. <th><%= l(:label_message_last) %></th>
  8. </tr></thead>
  9. <tbody>
  10. <% Board.board_tree(@boards) do |board, level| %>
  11. <tr>
  12. <td class="name" style="padding-left: <%= level * 18 %>px;">
  13. <%= link_to board.name, project_board_path(board.project, board), :class => "board" %><br />
  14. <%=h board.description %>
  15. </td>
  16. <td class="topic-count"><%= board.topics_count %></td>
  17. <td class="message-count"><%= board.messages_count %></td>
  18. <td class="last-message">
  19. <% if board.last_message %>
  20. <%= authoring board.last_message.created_on, board.last_message.author %><br />
  21. <%= link_to_message board.last_message %>
  22. <% end %>
  23. </td>
  24. </tr>
  25. <% end %>
  26. </tbody>
  27. </table>
  28. <% other_formats_links do |f| %>
  29. <%= f.link_to 'Atom', :url => {:controller => 'activities', :action => 'index', :id => @project, :show_messages => 1, :key => User.current.rss_key} %>
  30. <% end %>
  31. <% content_for :header_tags do %>
  32. <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %>
  33. <% end %>
  34. <% html_title l(:label_board_plural) %>