Application layout refactored.
The project menu is now the main menu. git-svn-id: http://redmine.rubyforge.org/svn/trunk@747 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -11,13 +11,14 @@
|
||||
<%= select_tag 'type', options_for_select([[l(:label_diff_inline), "inline"], [l(:label_diff_side_by_side), "sbs"]], params[:type]), :onchange => "if (this.value != '') {this.form.submit()}" %></p>
|
||||
<% end %>
|
||||
|
||||
<div class="autoscroll">
|
||||
<% cache(@cache_key) do %>
|
||||
<% @diff.each do |table_file| %>
|
||||
<% if @diff_type == 'sbs' %>
|
||||
<table class="list CodeRay">
|
||||
<table class="filecontent CodeRay">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="4" class="list-filename">
|
||||
<th colspan="4" class="filename">
|
||||
<%= table_file.file_name %>
|
||||
</th>
|
||||
</tr>
|
||||
@@ -47,10 +48,10 @@
|
||||
</table>
|
||||
|
||||
<% else %>
|
||||
<table class="list CodeRay">
|
||||
<table class="filecontent CodeRay">
|
||||
<thead>
|
||||
<tr>
|
||||
<th colspan="3" class="list-filename">
|
||||
<th colspan="3" class="filename">
|
||||
<%= table_file.file_name %>
|
||||
</th>
|
||||
</tr>
|
||||
@@ -85,6 +86,7 @@
|
||||
<% end %>
|
||||
<% end %>
|
||||
<% end %>
|
||||
</div>
|
||||
|
||||
<% content_for :header_tags do %>
|
||||
<%= stylesheet_link_tag "scm" %>
|
||||
|
||||
Reference in New Issue
Block a user