##// END OF EJS Templates
Introduce virtual MenuNodes (#15880)....
Introduce virtual MenuNodes (#15880). They are characterized by having a blank url. they will only be rendered if the user is authorized to see at least one of its children. they render as links which do nothing when clicked. Patch by Jan Schulz-Hofen. git-svn-id: http://svn.redmine.org/redmine/trunk@15501 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r14941:c75157ac4ae8
r15119:53710d80fc88
Show More
diff.html.erb
10 lines | 573 B | text/plain | TextLexer
Jean-Philippe Lang
Reduce view code duplication by using a nested layout for file rendering (#22058)....
r14940 <%= render :layout => 'layouts/file' do %>
Jean-Philippe Lang
Whitespace only change (#22058)....
r14941 <%= form_tag({}, :method => 'get') do %>
<p>
<%= l(:label_view_diff) %>:
<label><%= radio_button_tag 'type', 'inline', @diff_type != 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_inline) %></label>
<label><%= radio_button_tag 'type', 'sbs', @diff_type == 'sbs', :onchange => "this.form.submit()" %> <%= l(:label_diff_side_by_side) %></label>
</p>
<% end %>
<%= render :partial => 'common/diff', :locals => {:diff => @diff, :diff_type => @diff_type, :diff_style => nil} %>
Jean-Philippe Lang
Reduce view code duplication by using a nested layout for file rendering (#22058)....
r14940 <% end %>