instiki/app/views/wiki/revision.rhtml

27 lines
847 B
Plaintext
Raw Normal View History

2007-01-22 14:43:50 +01:00
<%
@title = "#{@page.plain_name} (Rev ##{@revision_number}#{@show_diff ? ', changes' : ''})"
%>
<div id="revision">
<% if @show_diff %>
<p class="show_diff">
2007-01-22 14:43:50 +01:00
Showing changes from revision #<%= @revision_number - 1 %> to #<%= @revision_number %>:
<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 %>
<% else %>
<%= @renderer.display_content %>
<% end %>
</div> <!-- Revision -->
2007-01-22 14:43:50 +01:00
<div class="byline">
<%= "Revision from #{format_date(@revision.revised_at)} by" %>
2007-03-05 05:56:52 +01:00
<%= link_to_page @revision.author.delete("\x01-\x08\x0B\x0C\x0E-\x1F") %>
2007-01-22 14:43:50 +01:00
</div>
<div class="navigation navfoot">
2007-01-22 14:43:50 +01:00
<%= navigation_menu_for_revision.join(' | ') %>
<%= render :partial => 'inbound_links' %>
</div>