diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-09 19:15:40 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2008-06-09 19:15:40 +0000 |
commit | 53b570398132d41202e75ce9dd3f6bb36dc2981e (patch) | |
tree | ab937cc954c0149d2fe0b5f85c903518eaba0caf /app | |
parent | efe790a8d3ca2688e5ad639e7166b5f77adb7335 (diff) | |
download | redmine-53b570398132d41202e75ce9dd3f6bb36dc2981e.tar.gz redmine-53b570398132d41202e75ce9dd3f6bb36dc2981e.zip |
Slight changes to diff view and style.
git-svn-id: http://redmine.rubyforge.org/svn/trunk@1523 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app')
-rw-r--r-- | app/views/common/_diff.rhtml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/app/views/common/_diff.rhtml b/app/views/common/_diff.rhtml index b95ef116b..0b28101b7 100644 --- a/app/views/common/_diff.rhtml +++ b/app/views/common/_diff.rhtml @@ -9,7 +9,8 @@ <% prev_line_left, prev_line_right = nil, nil -%> <% table_file.keys.sort.each do |key| -%> <% if prev_line_left && prev_line_right && (table_file[key].nb_line_left != prev_line_left+1) && (table_file[key].nb_line_right != prev_line_right+1) -%> -<tr class="spacing"><td colspan="4"></td></tr> +<tr class="spacing"> +<th class="line-num">...</th><td></td><th class="line-num">...</th><td></td> <% end -%> <tr> <th class="line-num"><%= table_file[key].nb_line_left %></th> @@ -35,7 +36,9 @@ <% prev_line_left, prev_line_right = nil, nil -%> <% table_file.keys.sort.each do |key, line| %> <% if prev_line_left && prev_line_right && (table_file[key].nb_line_left != prev_line_left+1) && (table_file[key].nb_line_right != prev_line_right+1) -%> -<tr class="spacing"><td colspan="3"></td></tr> +<tr class="spacing"> +<th class="line-num">...</th><th class="line-num">...</th><td></td> +</tr> <% end -%> <tr> <th class="line-num"><%= table_file[key].nb_line_left %></th> |