Defect #29730 » fix-29730.patch
| app/views/repositories/diff.html.erb | ||
|---|---|---|
| 1 |
<div class="contextual"> |
|
| 2 |
« |
|
| 3 |
<% unless @changeset.previous.nil? -%> |
|
| 4 |
<%= link_to_revision(@changeset.previous, @repository, |
|
| 5 |
:text => l(:label_previous), :accesskey => accesskey(:previous)) %> |
|
| 6 |
<% else -%> |
|
| 7 |
<%= l(:label_previous) %> |
|
| 8 |
<% end -%> |
|
| 9 |
| |
|
| 10 |
<% unless @changeset.next.nil? -%> |
|
| 11 |
<%= link_to_revision(@changeset.next, @repository, |
|
| 12 |
:text => l(:label_next), :accesskey => accesskey(:next)) %> |
|
| 13 |
<% else -%> |
|
| 14 |
<%= l(:label_next) %> |
|
| 15 |
<% end -%> |
|
| 16 |
» |
|
| 17 | ||
| 18 |
<%= form_tag({:controller => 'repositories',
|
|
| 19 |
:action => 'revision', |
|
| 20 |
:id => @project, |
|
| 21 |
:repository_id => @repository.identifier_param, |
|
| 22 |
:rev => nil}, |
|
| 23 |
:method => :get) do %> |
|
| 24 |
<%= text_field_tag 'rev', @rev, :size => 8 %> |
|
| 25 |
<%= submit_tag 'OK', :name => nil %> |
|
| 26 |
<% end %> |
|
| 27 |
</div> |
|
| 1 | 28 |
<% if @changeset && @changeset_to.nil? %> |
| 2 | 29 |
<%= render :partial => 'changeset' %> |
| 3 | 30 |
<% else %> |
- « Previous
- 1
- 2
- 3
- Next »