% @title = "#{@page.plain_name} (Rev ##{@revision.number})" %><%= render '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.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 %>
<% if @revision.next_revision && @revision.previous_revision %>
|
<% end %>
<% if @revision.previous_revision %>
Back in time
(<%= @revision.previous_revision.number + 1 %> more)
<% end %>
|
See current
<% if @revision.previous_revision %>
| See changes
| Hide changes
<% end %>
|
Rollback
<% if @page.references.length > 0 %>
| Linked from: <%= @page.references.collect { |ref| "#{ref.name}" }.join(", ") %>
<% end %>
<%= render 'bottom' %>