% @title = "#{@page.plain_name} (Rev ##{@revision.number})" %><%= sub_template "top" %>
<%= @revision.display_content %>
Showing changes from revision #<%= @revision.number - 1 %> to #<%= @revision.number %>:
Added | Removed
<%= @revision.display_diff %>
<%= "Revision from #{@revision.pretty_created_at} by" %>
<%= @page.web.make_link(@revision.author) %>
<% if @revision.previous_revision %>
Back in time
(<%= @revision.previous_revision.number + 1 %> more)
<% end %>
<% if @revision.next_revision && @revision.previous_revision %>
|
<% end %>
<% if @revision.next_revision %>
<% if @revision.next_revision.number < (@page.revisions.length - 1) %>
<% else %>
<% end %>
Forward in time
(<%= @revision.page.revisions.length - @revision.next_revision.number %> more)
<% end %>
|
Show current
<% if @revision.previous_revision %>
| Show changes
| Hide changes
<% end %>
|
Rollback
<% if @page.references.length > 0 %>
| Linked from: <%= @page.references.collect { |ref| "#{ref.name}" }.join(", ") %>
<% end %>
<% if @page.bliki_references.length > 0 %>
| Bliki Linked from: <%= @page.bliki_references.collect { |ref| link_to_bliki(ref) }.join(", ") %>
<% end %>
<%= sub_template "bottom" %>