To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.
root / .svn / pristine / 8b / 8b9ceab6c5d4ae37a6e81486ce8e0705b50e7186.svn-base @ 1297:0a574315af3e
History | View | Annotate | Download (1.12 KB)
| 1 | 1296:038ba2d95de8 | Chris | <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 %> |