2006-03-11 23:10:32 +01:00
|
|
|
<%
|
|
|
|
@title = "#{@page.plain_name} (Rev ##{@revision_number}#{@show_diff ? ', changes' : ''})"
|
|
|
|
%>
|
2005-01-24 19:52:04 +01:00
|
|
|
|
|
|
|
|
2006-03-11 23:10:32 +01:00
|
|
|
<div id="revision">
|
2006-03-19 08:54:54 +01:00
|
|
|
<% if @show_diff %>
|
|
|
|
<p style="background: #eee; padding: 3px; border: 1px solid silver">
|
|
|
|
<small>
|
|
|
|
Showing changes from revision #<%= @revision_number - 1 %> to #<%= @revision_number %>:
|
|
|
|
<ins class="diffins">Added</ins> | <del class="diffdel">Removed</del>
|
|
|
|
</small>
|
|
|
|
</p>
|
|
|
|
<%= @renderer.display_diff %>
|
|
|
|
<% else %>
|
|
|
|
<%= @renderer.display_content %>
|
|
|
|
<% end %>
|
2005-01-24 19:52:04 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="byline">
|
2005-08-15 01:35:10 +02:00
|
|
|
<%= "Revision from #{format_date(@revision.revised_at)} by" %>
|
2005-02-13 19:53:49 +01:00
|
|
|
<%= link_to_page @revision.author %>
|
2005-01-24 19:52:04 +01:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="navigation">
|
2006-03-19 08:54:54 +01:00
|
|
|
<%= navigation_menu_for_revision.join(' | ') %>
|
2005-11-04 07:19:10 +01:00
|
|
|
<%= render :partial => 'inbound_links' %>
|
2005-01-24 19:52:04 +01:00
|
|
|
</div>
|