RE: Git branch tracking » redmine_other.diff
redmine_argos_gitbranches/app/views/repositories/diff.rhtml 2009-02-23 06:49:50.000000000 +0100 | ||
---|---|---|
1 | 1 |
<h2><%= l(:label_revision) %> <%= format_revision(@rev) %> <%= @path.gsub(/^.*\//, '') %></h2> |
2 | ||
3 | 2 |
<!-- Choose view type --> |
4 |
<% form_tag({ :controller => 'repositories', :action => 'diff'}, :method => 'get') do %> |
|
5 |
<% params.each do |k, p| %> |
|
6 |
<% if k != "type" %> |
|
7 |
<%= hidden_field_tag(k,p) %> |
|
8 |
<% end %> |
|
9 |
<% end %> |
|
3 |
<% form_tag({}, :method => 'get') do %> |
|
4 |
<%= hidden_field_tag('rev', params[:rev]) if params[:rev] %> |
|
5 |
<%= hidden_field_tag('rev_to', params[:rev_to]) if params[:rev_to] %> |
|
10 | 6 |
<p><label><%= l(:label_view_diff) %></label> |
11 | 7 |
<%= select_tag 'type', options_for_select([[l(:label_diff_inline), "inline"], [l(:label_diff_side_by_side), "sbs"]], @diff_type), :onchange => "if (this.value != '') {this.form.submit()}" %></p> |
12 | 8 |
<% end %> |
- « Previous
- 1
- 2
- Next »