BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
10d881c9
Commit
10d881c9
authored
Nov 07, 2012
by
Riyad Preukschas
Committed by
Dmitriy Zaporozhets
Nov 07, 2012
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Line anchors for file view
parent
62219aa3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
5 deletions
+10
-5
files.scss
app/assets/stylesheets/gitlab_bootstrap/files.scss
+9
-4
_text.html.haml
app/views/tree/blob/_text.html.haml
+1
-1
No files found.
app/assets/stylesheets/gitlab_bootstrap/files.scss
View file @
10d881c9
...
...
@@ -157,10 +157,15 @@
font-size
:
12px
!
important
;
}
table
.highlighttable
.linenodiv
pre
{
text-align
:
right
;
padding-right
:
4px
;
color
:
#666
;
table
.highlighttable
.linenodiv
{
a
{
color
:
#666
;
}
pre
{
text-align
:
right
;
padding-right
:
4px
;
color
:
#666
;
}
}
}
}
...
...
app/views/tree/blob/_text.html.haml
View file @
10d881c9
...
...
@@ -10,6 +10,6 @@
-
unless
blob
.
empty?
%div
{
class:
current_user
.
dark_scheme
?
"black"
:
"white"
}
=
preserve
do
=
raw
blob
.
colorize
(
options:
{
linenos:
'True'
})
=
raw
blob
.
colorize
(
options:
{
linenos:
true
,
lineanchors: :line
,
anchorlinenos:
true
})
-
else
%h4
.nothing_here_message
Empty file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment