Merge pull request #1937 from riyad/add-file-line-links

Add file line links
This commit is contained in:
Dmitriy Zaporozhets 2012-11-16 03:46:43 -08:00
commit b339c747a9
9 changed files with 411 additions and 199 deletions

View file

@ -10,6 +10,6 @@
- unless blob.empty?
%div{class: current_user.dark_scheme ? "black" : "white"}
= preserve do
= raw blob.colorize(options: { linenos: true, lineanchors: :line, anchorlinenos: true })
= raw blob.colorize(formatter: :gitlab)
- else
%h4.nothing_here_message Empty file