2007-07-14 15:25:03 +04:00
|
|
|
<div class="contextual">
|
2010-10-27 20:27:06 +04:00
|
|
|
<%= link_to(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %>
|
2007-07-14 15:25:03 +04:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<h2><%= @page.pretty_title %></h2>
|
|
|
|
|
|
|
|
<p>
|
2010-10-27 20:27:06 +04:00
|
|
|
<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :version => @diff.content_from.version %>
|
2007-07-14 15:25:03 +04:00
|
|
|
<em>(<%= @diff.content_from.author ? @diff.content_from.author.name : "anonyme" %>, <%= format_time(@diff.content_from.updated_on) %>)</em>
|
|
|
|
→
|
2010-10-27 20:27:06 +04:00
|
|
|
<%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show', :id => @page.title, :version => @diff.content_to.version %>/<%= @page.content.version %>
|
2007-07-14 15:25:03 +04:00
|
|
|
<em>(<%= @diff.content_to.author ? @diff.content_to.author.name : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>)</em>
|
|
|
|
</p>
|
|
|
|
|
|
|
|
<hr />
|
|
|
|
|
|
|
|
<%= html_diff(@diff) %>
|