##// END OF EJS Templates
fix back-button on description diff page in case of no browser history (#13697)...
fix back-button on description diff page in case of no browser history (#13697) Contributed by Filou Centrinov. git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@11893 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r11663:83d148242a57
r11663:83d148242a57
Show More
diff.html.erb
13 lines | 453 B | text/plain | TextLexer
<h2><%=h @issue.tracker %> #<%= @issue.id %></h2>
<p><%= authoring @journal.created_on, @journal.user, :label => :label_updated_time_by %></p>
<div class="text-diff">
<%= simple_format_without_paragraph @diff.to_html %>
</div>
<p>
<%= link_to(l(:button_back), issue_path(@issue),
:onclick => 'if (history.length > 1) {history.back(); return false;}') %>
</p>
<% html_title "#{@issue.tracker.name} ##{@issue.id}: #{@issue.subject}" %>