% @title = "#{@page.plain_name} (Rev ##{@revision.number})" %>
<%= sub_template "top" %>
<%= @revision.page.name %> |
<%= @revision.pretty_created_at %> |
<%= @revision.display_content %>
Showing changes from revision #<%= @page.number - 1 %> to #<%= @page.number %>:
Added | Removed
<%= @revision.display_diff %>
|
<%= web.make_link(@revision.author, nil, {}) %> |
<%= "Revision from #{@revision.pretty_created_at} by" %>
<%# @page.web.pages[@revision.author] ? WikiWords.existing_page_link(@revision.author) : WikiWords.unexisting_page_link(@revision.author) %>
Edit |
<% if @revision.previous_revision %>
Lower
<% else %>
Lower
<% end %> -
<% if @revision.next_revision %>
Higher
<% else %>
Higher
<% end %>
<%= '|' if @revision.previous_revision or @revision.next_revision %>
Delete All
<% if @revision.next_revision %>
|
Back to current
|
Rollback to here
<% end %>
<% if @page.references.length > 0 %>
| Referenced by: <%= @page.references.collect { |ref| "#{ref.name}" }.join(", ") %>
<% end %>
<% if @page.revisions.length > 1 %>
| Show changes
| Hide changes
<% end %>
<%= sub_template "bottom" %>