To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / wiki / diff.html.erb @ 912:5e80956cc792

History | View | Annotate | Download (1.12 KB)

1 0:513646585e45 Chris
<div class="contextual">
2 909:cbb26bc654de Chris
<%= link_to(l(:label_history), {:action => 'history', :id => @page.title},
3
            :class => 'icon icon-history') %>
4 0:513646585e45 Chris
</div>
5
6 909:cbb26bc654de Chris
<%= wiki_page_breadcrumb(@page) %>
7
8
<h2><%= h(@page.pretty_title) %></h2>
9 0:513646585e45 Chris
10
<p>
11 119:8661b858af72 Chris
<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %>
12 909:cbb26bc654de Chris
<em>(<%= @diff.content_from.author ?
13
             @diff.content_from.author.name : l(:label_user_anonymous)
14
      %>, <%= format_time(@diff.content_from.updated_on) %>)</em>
15 0:513646585e45 Chris
&#8594;
16 909:cbb26bc654de Chris
<%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show',
17
                             :id => @page.title, :project_id => @page.project,
18
                             :version => @diff.content_to.version
19
                          %>/<%= @page.content.version %>
20
<em>(<%= @diff.content_to.author ?
21
             link_to_user(@diff.content_to.author.name) : l(:label_user_anonymous)
22
      %>, <%= format_time(@diff.content_to.updated_on) %>)</em>
23 0:513646585e45 Chris
</p>
24
25 245:051f544170fe Chris
<div class="text-diff">
26
<%= simple_format_without_paragraph @diff.to_html %>
27
</div>