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
dae9faf3
Commit
dae9faf3
authored
Aug 29, 2014
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #7519 from jvanbaarsen/enable-blame-highlighting
Enable highlighting for blame
parents
8aca1ff0
652de6f5
Changes
1
Hide 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 @
dae9faf3
...
@@ -8,7 +8,7 @@
...
@@ -8,7 +8,7 @@
=
@path
=
@path
%small
=
number_to_human_size
@blob
.
size
%small
=
number_to_human_size
@blob
.
size
%span
.options
=
render
"projects/blob/actions"
%span
.options
=
render
"projects/blob/actions"
.file-content.blame
.file-content.blame
.highlight
%table
%table
-
current_line
=
1
-
current_line
=
1
-
@blame
.
each
do
|
commit
,
lines
|
-
@blame
.
each
do
|
commit
,
lines
|
...
@@ -33,7 +33,8 @@
...
@@ -33,7 +33,8 @@
-
current_line
+=
1
-
current_line
+=
1
%td
.lines
%td
.lines
%pre
%pre
:erb
%code
{
class:
highlightjs_class
(
@blob
.
name
)
}
<%
lines
.
each
do
|
line
|
%>
:erb
<%=
line
%>
<%
lines
.
each
do
|
line
|
%>
<%
end
%>
<%=
line
%>
<%
end
%>
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