adds more user class support

This commit is contained in:
Toks
2013-03-31 22:02:53 -04:00
parent 08b41bfa95
commit af44e99130
2 changed files with 2 additions and 1 deletions

View File

@@ -16,7 +16,7 @@
<% @wiki_pages.each do |wiki_page| %>
<tr>
<td class="tag-category-<%= wiki_page.category_name %>"><%= link_to wiki_page.pretty_title, wiki_page_path(wiki_page, :noredirect => 1) %></td>
<td><%= wiki_page.updated_at.strftime("%Y-%m-%d %I:%M") %> by <%= h link_to wiki_page.updater_name, user_path(wiki_page.updater_id) %></td>
<td><%= wiki_page.updated_at.strftime("%Y-%m-%d %I:%M") %> by <%= h link_to wiki_page.updater_name, user_path(wiki_page.updater_id), { :class => wiki_page.updater.level_class } %></td>
</tr>
<% end %>
</tbody>