/wiki_page_versions: various usability improvements.

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.
This commit is contained in:
evazion
2019-08-18 16:54:13 -05:00
parent 5b27726635
commit a586916cb3
6 changed files with 39 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
<section>
<h1>Recent Changes (<%= link_to "all", wiki_pages_path(:order => "time") %>)</h1>
<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>