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.rhtml 1.4KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  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. <% for board in @boards %>
  11. <tr class="<%= cycle 'odd', 'even' %>">
  12. <td>
  13. <%= link_to h(board.name), {:action => 'show', :id => board}, :class => "icon22 icon22-comment" %><br />
  14. <%=h board.description %>
  15. </td>
  16. <td align="center"><%= board.topics_count %></td>
  17. <td align="center"><%= board.messages_count %></td>
  18. <td>
  19. <small>
  20. <% if board.last_message %>
  21. <%= authoring board.last_message.created_on, board.last_message.author %><br />
  22. <%= link_to_message board.last_message %>
  23. <% end %>
  24. </small>
  25. </td>
  26. </tr>
  27. <% end %>
  28. </tbody>
  29. </table>
  30. <p class="other-formats">
  31. <%= l(:label_export_to) %>
  32. <span><%= link_to 'Atom', {:controller => 'projects', :action => 'activity', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key},
  33. :class => 'feed' %></span>
  34. </p>
  35. <% content_for :header_tags do %>
  36. <%= auto_discovery_link_tag(:atom, {:controller => 'projects', :action => 'activity', :id => @project, :format => 'atom', :show_messages => 1, :key => User.current.rss_key}) %>
  37. <% end %>
  38. <% html_title l(:label_board_plural) %>