To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / app / views / wiki / diff.html.erb @ 1298:4f746d8966dd
History | View | Annotate | Download (1.12 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 |
<h2><%= h(@page.pretty_title) %></h2> |
| 9 |
|
| 10 |
<p>
|
| 11 |
<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %> |
| 12 |
<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 |
→
|
| 16 |
<%= 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 |
</p>
|
| 24 |
|
| 25 |
<div class="text-diff"> |
| 26 |
<%= simple_format_without_paragraph @diff.to_html %>
|
| 27 |
</div>
|