diff.html.erb
29 lines
| 1.3 KiB
| text/plain
|
TextLexer
|
r580 | <div class="contextual"> | ||
|
r6290 | <%= link_to(l(:label_history), {:action => 'history', :id => @page.title}, | ||
:class => 'icon icon-history') %> | ||||
|
r580 | </div> | ||
|
r6062 | <%= wiki_page_breadcrumb(@page) %> | ||
|
r11991 | <%= title [@page.pretty_title, project_wiki_page_path(@page.project, @page.title, :version => nil)], | ||
[l(:label_history), history_project_wiki_page_path(@page.project, @page.title)], | ||||
"#{l(:label_version)} #{@diff.content_to.version}" %> | ||||
|
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 %> | ||
|
r6290 | <em>(<%= @diff.content_from.author ? | ||
@diff.content_from.author.name : l(:label_user_anonymous) | ||||
%>, <%= format_time(@diff.content_from.updated_on) %>)</em> | ||||
|
r580 | → | ||
|
r6290 | <%= 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> | ||||
|
r580 | </p> | ||
|
r4832 | <div class="text-diff"> | ||
|
r4833 | <%= simple_format_without_paragraph @diff.to_html %> | ||
|
r4832 | </div> | ||