2007-07-14 11:25:03 +00:00
|
|
|
<div class="contextual">
|
2024-10-19 10:06:26 +00:00
|
|
|
<%= link_to(sprite_icon('history', l(:label_history)), { :action => 'history', :id => @page.title},
|
2011-08-06 00:49:04 +00:00
|
|
|
:class => 'icon icon-history') %>
|
2007-07-14 11:25:03 +00:00
|
|
|
</div>
|
|
|
|
|
|
2011-07-04 19:56:38 +00:00
|
|
|
<%= wiki_page_breadcrumb(@page) %>
|
|
|
|
|
|
2013-10-14 16:58:39 +00:00
|
|
|
<%= 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)],
|
2018-09-23 14:12:37 +00:00
|
|
|
"#{l(:label_revision)} #{@diff.content_to.version}" %>
|
2007-07-14 11:25:03 +00:00
|
|
|
|
|
|
|
|
<p>
|
2018-09-23 13:55:40 +00:00
|
|
|
<%= l(:label_revision) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %>
|
2011-08-06 00:49:04 +00:00
|
|
|
<em>(<%= @diff.content_from.author ?
|
|
|
|
|
@diff.content_from.author.name : l(:label_user_anonymous)
|
|
|
|
|
%>, <%= format_time(@diff.content_from.updated_on) %>)</em>
|
2007-07-14 11:25:03 +00:00
|
|
|
→
|
2018-09-23 13:55:40 +00:00
|
|
|
<%= l(:label_revision) %> <%= link_to @diff.content_to.version, :action => 'show',
|
2011-08-06 00:49:04 +00:00
|
|
|
: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>
|
2007-07-14 11:25:03 +00:00
|
|
|
</p>
|
|
|
|
|
|
2018-12-16 06:38:55 +00:00
|
|
|
<pre class="text-diff"><%= @diff.to_html %></pre>
|