diff.rhtml
17 lines
| 825 B
| text/html+ruby
|
RhtmlLexer
|
r580 | <div class="contextual"> | ||
<%= link_to(l(:label_history), {:action => 'history', :page => @page.title}, :class => 'icon icon-history') %> | ||||
</div> | ||||
<h2><%= @page.pretty_title %></h2> | ||||
<p> | ||||
|
r4152 | <%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :page => @page.title, :version => @diff.content_from.version %> | ||
|
r580 | <em>(<%= @diff.content_from.author ? @diff.content_from.author.name : "anonyme" %>, <%= format_time(@diff.content_from.updated_on) %>)</em> | ||
→ | ||||
|
r4152 | <%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show', :page => @page.title, :version => @diff.content_to.version %>/<%= @page.content.version %> | ||
|
r580 | <em>(<%= @diff.content_to.author ? @diff.content_to.author.name : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>)</em> | ||
</p> | ||||
<hr /> | ||||
<%= html_diff(@diff) %> | ||||