annotate app/views/wiki/diff.html.erb @ 1628:9c5f8e24dadc live tip

Quieten this cron script
author Chris Cannam
date Tue, 25 Aug 2020 11:38:49 +0100
parents 261b3d9a4903
children
rev   line source
Chris@0 1 <div class="contextual">
Chris@909 2 <%= link_to(l(:label_history), {:action => 'history', :id => @page.title},
Chris@909 3 :class => 'icon icon-history') %>
Chris@0 4 </div>
Chris@0 5
Chris@909 6 <%= wiki_page_breadcrumb(@page) %>
Chris@909 7
Chris@1464 8 <%= title [@page.pretty_title, project_wiki_page_path(@page.project, @page.title, :version => nil)],
Chris@1464 9 [l(:label_history), history_project_wiki_page_path(@page.project, @page.title)],
Chris@1464 10 "#{l(:label_version)} #{@diff.content_to.version}" %>
Chris@0 11
Chris@0 12 <p>
Chris@119 13 <%= l(:label_version) %> <%= link_to @diff.content_from.version, :action => 'show', :id => @page.title, :project_id => @page.project, :version => @diff.content_from.version %>
Chris@909 14 <em>(<%= @diff.content_from.author ?
Chris@909 15 @diff.content_from.author.name : l(:label_user_anonymous)
Chris@909 16 %>, <%= format_time(@diff.content_from.updated_on) %>)</em>
Chris@0 17 &#8594;
Chris@909 18 <%= l(:label_version) %> <%= link_to @diff.content_to.version, :action => 'show',
Chris@909 19 :id => @page.title, :project_id => @page.project,
Chris@909 20 :version => @diff.content_to.version
Chris@909 21 %>/<%= @page.content.version %>
Chris@909 22 <em>(<%= @diff.content_to.author ?
Chris@909 23 link_to_user(@diff.content_to.author.name) : l(:label_user_anonymous)
Chris@909 24 %>, <%= format_time(@diff.content_to.updated_on) %>)</em>
Chris@0 25 </p>
Chris@0 26
Chris@245 27 <div class="text-diff">
Chris@245 28 <%= simple_format_without_paragraph @diff.to_html %>
Chris@245 29 </div>