2008-12-15 20:19:22 +01:00
|
|
|
<%-
|
2010-05-26 07:27:49 +02:00
|
|
|
@title = "#{@page.plain_name} (Rev ##{@revision_number}#{@show_diff ? ', changes' : ''})".html_safe
|
2008-12-15 20:19:22 +01:00
|
|
|
-%>
|
2007-01-22 14:43:50 +01:00
|
|
|
|
|
|
|
|
|
|
|
<div id="revision">
|
2008-12-15 20:19:22 +01:00
|
|
|
<%- if @show_diff -%>
|
2007-02-18 08:48:32 +01:00
|
|
|
<p class="show_diff">
|
2007-01-22 14:43:50 +01:00
|
|
|
Showing changes from revision #<%= @revision_number - 1 %> to #<%= @revision_number %>:
|
2007-02-04 17:18:21 +01:00
|
|
|
<ins class="diffins">Added</ins> | <del class="diffdel">Removed</del> | <del class="diffmod">Chan</del><ins class="diffmod">ged</ins>
|
2007-01-22 14:43:50 +01:00
|
|
|
</p>
|
|
|
|
<%= @renderer.display_diff %>
|
2008-12-15 20:19:22 +01:00
|
|
|
<%- else -%>
|
2007-01-22 14:43:50 +01:00
|
|
|
<%= @renderer.display_content %>
|
2008-12-15 20:19:22 +01:00
|
|
|
<%- end -%>
|
2007-02-04 17:18:21 +01:00
|
|
|
</div> <!-- Revision -->
|
2007-01-22 14:43:50 +01:00
|
|
|
|
|
|
|
<div class="byline">
|
|
|
|
<%= "Revision from #{format_date(@revision.revised_at)} by" %>
|
2008-12-17 07:07:21 +01:00
|
|
|
<%= link_to_page @revision.author.purify %>
|
2007-01-22 14:43:50 +01:00
|
|
|
</div>
|
|
|
|
|
2008-01-19 22:06:17 +01:00
|
|
|
<div class="navigation navfoot">
|
2010-05-26 07:27:49 +02:00
|
|
|
<%= raw navigation_menu_for_revision.join(' | ') %>
|
2007-01-22 14:43:50 +01:00
|
|
|
<%= render :partial => 'inbound_links' %>
|
|
|
|
</div>
|