|
|
|
@ -41,8 +41,8 @@ |
|
|
|
|
</tr></thead> |
|
|
|
|
<tbody> |
|
|
|
|
<% @topics.each do |topic| %> |
|
|
|
|
<tr class="message <%= cycle 'odd', 'even' %> <%= topic.sticky? ? 'sticky' : '' %> <%= topic.locked? ? 'locked' : '' %>"> |
|
|
|
|
<td class="subject"><%= link_to h(topic.subject), { :controller => 'messages', :action => 'show', :board_id => @board, :id => topic } %></td> |
|
|
|
|
<tr class="message <%= cycle 'odd', 'even' %>"> |
|
|
|
|
<td class="subject"><%= image_tag('locked.png', :alt => l(:label_board_locked)) if topic.locked? %><%= image_tag 'bullet_go.png', :alt => l(:label_board_sticky) if topic.sticky? %><%= link_to h(topic.subject), { :controller => 'messages', :action => 'show', :board_id => @board, :id => topic } %></td> |
|
|
|
|
<td class="author" align="center"><%= link_to_user(topic.author) %></td> |
|
|
|
|
<td class="created_on" align="center"><%= format_time(topic.created_on) %></td> |
|
|
|
|
<td class="replies" align="center"><%= topic.replies_count %></td> |
|
|
|
|