stubbed in view code from old danbooru; only janitors can lock a wiki page
This commit is contained in:
8
app/views/wiki_pages/_recent_changes.html.erb
Normal file
8
app/views/wiki_pages/_recent_changes.html.erb
Normal file
@@ -0,0 +1,8 @@
|
||||
<section>
|
||||
<h1>Recent Changes (<%= link_to "all", wiki_pages_path(:meta_sort => "updated_at.desc") %>)</h1>
|
||||
<ul>
|
||||
<% WikiPage.recent.each do |page| %>
|
||||
<li class="tag-category-<%= page.category_name %>"><%= link_to page.pretty_title, wiki_page_path(page) %></li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</section>
|
||||
Reference in New Issue
Block a user