Project

General

Profile

Feature #8254 » add-repository-diff-easy-browse.diff

Theo Chatzimichos, 2011-04-30 01:10

View differences:

app/views/repositories/diff.rhtml 2011-03-07 21:44:37.000000000 +0200 → app/views/repositories/diff.rhtml 2011-04-30 01:49:13.574347070 +0300
1
<div class="contextual">
2
  &#171;
3
  <% unless @changeset.previous.nil? -%>
4
    <%= link_to(l(:label_previous), :action => 'diff', :id => @project, :path => "", :rev => @changeset.previous) %>
5
  <% else -%>
6
    <%= l(:label_previous) %>
7
  <% end -%>
8
|
9
  <% unless @changeset.next.nil? -%>
10
    <%= link_to(l(:label_next), :action => 'diff', :id => @project, :path => "", :rev => @changeset.next) %>
11
  <% else -%>
12
    <%= l(:label_next) %>
13
  <% end -%>
14
  &#187;&nbsp;
15

  
16
  <% form_tag({:controller => 'repositories', :action => 'revision', :id => @project, :rev => nil}, :method => :get) do %>
17
    <%= text_field_tag 'rev', @rev, :size => 8 %>
18
    <%= submit_tag 'OK', :name => nil %>
19
  <% end %>
20
</div>
21

  
1 22
<h2><%= l(:label_revision) %> <%= format_revision(@changeset_to) + ':' if @changeset_to %><%= format_revision(@changeset) %> <%=h @path %></h2>
2 23

  
3 24
<!-- Choose view type -->
(1-1/3)