diff.rhtml
19 lines
| 984 B
| text/html+ruby
|
RhtmlLexer
|
r580 | <div class="contextual"> | ||
|
r4182 | <%= link_to(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %> | ||
|
r580 | </div> | ||
|
r6062 | <%= wiki_page_breadcrumb(@page) %> | ||
|
r6280 | <h2><%= h(@page.pretty_title) %></h2> | ||
|
r580 | |||
<p> | ||||
|
r4437 | <%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :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> | ||
→ | ||||
|
r4437 | <%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_to.version %>/<%= @page.content.version %> | ||
|
r6215 | <em>(<%= @diff.content_to.author ? link_to_user(@diff.content_to.author.name) : "anonyme" %>, <%= format_time(@diff.content_to.updated_on) %>)</em> | ||
|
r580 | </p> | ||
|
r4832 | <div class="text-diff"> | ||
|
r4833 | <%= simple_format_without_paragraph @diff.to_html %> | ||
|
r4832 | </div> | ||