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