fixes #2716: Wiki pages should be undeletable
This commit is contained in:
@@ -15,6 +15,7 @@
|
||||
<th width="2%"></th>
|
||||
<% end %>
|
||||
<th>Title</th>
|
||||
<th width="3%">Del</th>
|
||||
<th width="5%"></th>
|
||||
<% if CurrentUser.is_moderator? %>
|
||||
<th width="10%">IP Address</th>
|
||||
@@ -49,6 +50,7 @@
|
||||
</td>
|
||||
<% end %>
|
||||
<td class="category-<%= wiki_page_version.category_name %>"><%= link_to wiki_page_version.title, wiki_page_version_path(wiki_page_version) %></td>
|
||||
<td><%= wiki_page_version.is_deleted? ? "Y" : "" %></td>
|
||||
<td><%= link_to "wiki", wiki_page_path(wiki_page_version.wiki_page_id) %></td>
|
||||
<% if CurrentUser.is_moderator? %>
|
||||
<td>
|
||||
|
||||
Reference in New Issue
Block a user