Mercurial > hg > soundsoftware-site
comparison .svn/pristine/8b/8b9ceab6c5d4ae37a6e81486ce8e0705b50e7186.svn-base @ 1295:622f24f53b42 redmine-2.3
Update to Redmine SVN revision 11972 on 2.3-stable branch
author | Chris Cannam |
---|---|
date | Fri, 14 Jun 2013 09:02:21 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
1294:3e4c3460b6ca | 1295:622f24f53b42 |
---|---|
1 <h2><%= l(:label_revision) %> <%= @diff_format_revisions %> <%=h @path %></h2> | |
2 | |
3 <!-- Choose view type --> | |
4 <%= form_tag({:action => 'diff', :id => @project, | |
5 :repository_id => @repository.identifier_param, | |
6 :path => to_path_param(@path), :rev=> @rev}, :method => 'get') do %> | |
7 <%= hidden_field_tag('rev_to', params[:rev_to]) if params[:rev_to] %> | |
8 <p> | |
9 <%= l(:label_view_diff) %>: | |
10 <label><%= radio_button_tag 'type', 'inline', @diff_type != 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_inline) %></label> | |
11 <label><%= radio_button_tag 'type', 'sbs', @diff_type == 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_side_by_side) %></label> | |
12 </p> | |
13 <% end %> | |
14 | |
15 <% cache(@cache_key) do -%> | |
16 <%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type, :diff_style => @repository.class.scm_name} %> | |
17 <% end -%> | |
18 | |
19 <% other_formats_links do |f| %> | |
20 <%= f.link_to 'Diff', :url => params, :caption => 'Unified diff' %> | |
21 <% end %> | |
22 | |
23 <% html_title(with_leading_slash(@path), 'Diff') -%> | |
24 | |
25 <% content_for :header_tags do %> | |
26 <%= stylesheet_link_tag "scm" %> | |
27 <% end %> |