Changes to the /wiki_page_versions global listing: * Add "diff" links that show you what changed in the given edit. * Add "?" links that take you to the current version of the wiki. * Add "»" links next to wiki page titles that take you to the wiki's full edit history. * Add "»" links next to usernames that take you to the user's full edit history. * Add a "Status" column that shows whether the wiki page was created, deleted, undeleted, or renamed. * Link to /wiki_page_versions in sidebar, not /wiki_pages?order=time.
9 lines
278 B
Plaintext
9 lines
278 B
Plaintext
<section>
|
|
<h1>Recent Changes (<%= link_to "all", wiki_page_versions_path %>)</h1>
|
|
<ul>
|
|
<% WikiPage.recent.each do |page| %>
|
|
<li class="category-<%= page.category_name %>"><%= link_to page.pretty_title, wiki_page_path(page) %></li>
|
|
<% end %>
|
|
</ul>
|
|
</section>
|