improved diff, restyled login page
This commit is contained in:
parent
cc1ba255d6
commit
9511ec846d
5 changed files with 13 additions and 4 deletions
|
@ -4,7 +4,7 @@
|
|||
- if type == "match"
|
||||
%td.old_line= "..."
|
||||
%td.new_line= "..."
|
||||
%td.line_content
|
||||
%td.line_content.matched= line
|
||||
- else
|
||||
%td.old_line= link_to raw(type == "new" ? " " : line_old), "##{line_code}", :id => line_code
|
||||
%td.new_line= link_to raw(type == "old" ? " " : line_new) , "##{line_code}", :id => line_code
|
||||
|
|
|
@ -13,6 +13,8 @@
|
|||
.clear
|
||||
%br
|
||||
|
||||
%p.cgray
|
||||
Showing #{pluralize(@commit.diffs.count, "changed file")}
|
||||
= render "commits/diffs", :diffs => @commit.diffs
|
||||
= render "notes/notes"
|
||||
= render "notes/per_line_form"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue