2007-07-14 15:25:03 +04:00
|
|
|
<div class="contextual">
|
2011-08-06 04:49:04 +04:00
|
|
|
<%= link_to(l(:label_history), {:action => 'history', :id => @page.title},
|
|
|
|
:class => 'icon icon-history') %>
|
2007-07-14 15:25:03 +04:00
|
|
|
</div>
|
|
|
|
|
2011-07-04 23:56:38 +04:00
|
|
|
<%= wiki_page_breadcrumb(@page) %>
|
|
|
|
|
2013-10-14 20:58:39 +04: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)],
|
|
|
|
"#{l(:label_version)} #{@diff.content_to.version}" %>
|
2007-07-14 15:25:03 +04:00
|
|
|
|
|
|
|
<p>
|
2010-12-21 01:33:44 +03:00
|
|
|
<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %>
|
2011-08-06 04:49:04 +04: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 15:25:03 +04:00
|
|
|
→
|
2011-08-06 04:49:04 +04:00
|
|
|
<%= 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>
|
2007-07-14 15:25:03 +04:00
|
|
|
</p>
|
|
|
|
|
2011-02-27 15:35:31 +03:00
|
|
|
<div class="text-diff">
|
2011-02-27 15:50:47 +03:00
|
|
|
<%= simple_format_without_paragraph @diff.to_html %>
|
2011-02-27 15:35:31 +03:00
|
|
|
</div>
|