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 @ 1531:ae8145b28b2b

History | View | Annotate | Download (1.33 KB)

1
<div class="contextual">
2
<%= link_to(l(:label_history), {:action => 'history', :id => @page.title},
3
            :class => 'icon icon-history') %>
4
</div>
5

    
6
<%= wiki_page_breadcrumb(@page) %>
7

    
8
<%= title [@page.pretty_title, project_wiki_page_path(@page.project, @page.title, :version => nil)],
9
      [l(:label_history), history_project_wiki_page_path(@page.project, @page.title)],
10
      "#{l(:label_version)} #{@diff.content_to.version}" %>
11

    
12
<p>
13
<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %>
14
<em>(<%= @diff.content_from.author ?
15
             @diff.content_from.author.name : l(:label_user_anonymous)
16
      %>, <%= format_time(@diff.content_from.updated_on) %>)</em>
17
&#8594;
18
<%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show',
19
                             :id => @page.title, :project_id => @page.project,
20
                             :version => @diff.content_to.version
21
                          %>/<%= @page.content.version %>
22
<em>(<%= @diff.content_to.author ?
23
             link_to_user(@diff.content_to.author.name) : l(:label_user_anonymous)
24
      %>, <%= format_time(@diff.content_to.updated_on) %>)</em>
25
</p>
26

    
27
<div class="text-diff">
28
<%= simple_format_without_paragraph @diff.to_html %>
29
</div>