This commit is contained in:
r888888888
2015-06-25 13:51:05 -07:00
parent 3cc7dbbedc
commit 1d9596d7f2
64 changed files with 244 additions and 140 deletions

View File

@@ -16,7 +16,7 @@
<% end %>
<th>Title</th>
<th width="5%"></th>
<% if CurrentUser.is_janitor? %>
<% if CurrentUser.is_moderator? %>
<th width="10%">IP Address</th>
<% end %>
<th width="26%">Last edited</th>
@@ -50,7 +50,7 @@
<% end %>
<td class="category-<%= wiki_page_version.category_name %>"><%= link_to wiki_page_version.title, wiki_page_version_path(wiki_page_version) %></td>
<td><%= link_to "wiki", wiki_page_path(wiki_page_version.wiki_page_id) %></td>
<% if CurrentUser.is_janitor? %>
<% if CurrentUser.is_moderator? %>
<td>
<%= wiki_page_version.updater_ip_addr %>
</td>