Mercurial > hg > soundsoftware-site
view app/views/wiki/diff.rhtml @ 452:34a6cf259682 feature_36
added a couple of navigation options in the views.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Thu, 09 Jun 2011 17:22:08 +0100 |
parents | 94944d00e43c |
children | af80e5618e9b |
line wrap: on
line source
<div class="contextual"> <%= link_to(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %> </div> <h2><%= @page.pretty_title %></h2> <p> <%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :version => @diff.content_from.version %> <em>(<%= @diff.content_from.author ? @diff.content_from.author.name : "anonyme" %>, <%= format_time(@diff.content_from.updated_on) %>)</em> → <%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show', :id => @page.title, :version => @diff.content_to.version %>/<%= @page.content.version %> <em>(<%= @diff.content_to.author ? @diff.content_to.author.name : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>)</em> </p> <hr /> <%= html_diff(@diff) %>