% @title = @page.plain_name %>
<%= render 'top' %>
<%= @page.display_content %>
Showing changes from revision #<%= @page.number - 1 %> to #<%= @page.number %>:
Added | Removed
<%= @page.display_diff %>
<%= @page.revisions? ? "Revised" : "Created" %> on <%= @page.pretty_created_at %>
by <%= @page.author_link %>
<%= "(#{@page.author.ip})" if @page.author.respond_to?(:ip) %>
<% if @web.count_pages %>
<% total_chars = @page.content.length %>
(<%= total_chars %> characters / <%= sprintf("%-.1f", (total_chars / 2275 rescue 0)) %> pages)
<% end %>
<% if @page.name == "HomePage" %>
Edit Page
|
Edit Web
<% else %>
Edit
<% end %>
<% if @page.revisions.length > 1 %>
|
Back in time
(<%= @page.revisions.length - 1 %> revisions)
<% end %>
<% if @page.revisions.length > 1 %>
| See changes
| Hide changes
<% end %>
| Views: Print
<% if defined? RedClothForTex and RedClothForTex.available? and @web.markup == :textile %>
| TeX | PDF
<% end %>
<% if @page.references.length > 0 %>
| Linked from: <%= @page.references.collect { |ref| ref.link }.join(", ") %>
<% end %>
<%= render 'bottom' %>