Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
652de6f5
Commit
652de6f5
authored
Aug 16, 2014
by
Jeroen van Baarsen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Enable highlighting for blame
Fixes #3675 Signed-off-by:
Jeroen van Baarsen
<
jeroenvanbaarsen@gmail.com
>
parent
cb33279a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
5 deletions
+6
-5
app/views/projects/blame/show.html.haml
app/views/projects/blame/show.html.haml
+6
-5
No files found.
app/views/projects/blame/show.html.haml
View file @
652de6f5
...
...
@@ -8,7 +8,7 @@
=
@path
%small
=
number_to_human_size
@blob
.
size
%span
.options
=
render
"projects/blob/actions"
.file-content.blame
.file-content.blame
.highlight
%table
-
current_line
=
1
-
@blame
.
each
do
|
commit
,
lines
|
...
...
@@ -33,6 +33,7 @@
-
current_line
+=
1
%td
.lines
%pre
%code
{
class:
highlightjs_class
(
@blob
.
name
)
}
:erb
<%
lines
.
each
do
|
line
|
%>
<%=
line
%>
...
...
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