##// END OF EJS Templates
Introduce virtual MenuNodes (#15880)....
Introduce virtual MenuNodes (#15880). They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r11991:699317e12e7f
r15119:53710d80fc88
Show More
diff.html.erb
29 lines | 1.3 KiB | text/plain | TextLexer
<div class="contextual">
<%= link_to(l(:label_history), {:action => 'history', :id => @page.title},
:class => 'icon icon-history') %>
</div>
<%= wiki_page_breadcrumb(@page) %>
<%= 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}" %>
<p>
<%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %>
<em>(<%= @diff.content_from.author ?
@diff.content_from.author.name : l(:label_user_anonymous)
%>, <%= format_time(@diff.content_from.updated_on) %>)</em>
&#8594;
<%= 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>
</p>
<div class="text-diff">
<%= simple_format_without_paragraph @diff.to_html %>
</div>