34 lines
1.2 KiB
Plaintext
34 lines
1.2 KiB
Plaintext
<div class="contextual">
|
|
<%= link_to(l(:label_history), {:action => 'history', :id => @page.title}, :class => 'icon icon-history') %>
|
|
</div>
|
|
|
|
<%= wiki_page_breadcrumb(@page) %>
|
|
|
|
<h3>
|
|
<%= h(@page.pretty_title) %>
|
|
</h3>
|
|
|
|
<p>
|
|
<%= l(:label_version) %>
|
|
<%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %>
|
|
<em>
|
|
(<%= @diff.content_from.author ? @diff.content_from.author.name : l(:label_user_anonymous)%>,
|
|
<%= format_time(@diff.content_from.updated_on) %>)
|
|
</em>
|
|
→
|
|
<%= 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 %>
|
|
<em>
|
|
(<%= @diff.content_to.author ? link_to_user(@diff.content_to.author.name) : l(:label_user_anonymous)%>,
|
|
<%= format_time(@diff.content_to.updated_on) %>)
|
|
</em>
|
|
</p>
|
|
|
|
<div class="text-diff" style="word-break: break-all;word-wrap: break-word;">
|
|
<%= wiki_simple_format_without_paragraph @diff.to_html %>
|
|
</div>
|