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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
ee0fc2c3
Commit
ee0fc2c3
authored
Apr 26, 2015
by
Sven Strickroth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Put author name at the end of a tree row
Signed-off-by:
Sven Strickroth
<
email@cs-ware.de
>
parent
8ec7025a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
app/assets/stylesheets/pages/tree.scss
app/assets/stylesheets/pages/tree.scss
+1
-5
app/views/projects/tree/_tree_commit_column.html.haml
app/views/projects/tree/_tree_commit_column.html.haml
+4
-1
No files found.
app/assets/stylesheets/pages/tree.scss
View file @
ee0fc2c3
...
@@ -60,11 +60,7 @@
...
@@ -60,11 +60,7 @@
}
}
.tree_author
{
.tree_author
{
padding-right
:
8px
;
padding-left
:
8px
;
.commit-author-name
{
color
:
gray
;
}
}
}
.tree_commit
{
.tree_commit
{
...
...
app/views/projects/tree/_tree_commit_column.html.haml
View file @
ee0fc2c3
%span
.str-truncated
%span
.str-truncated
%span
.tree_author
=
commit_author_link
(
commit
,
avatar:
true
,
size:
16
)
=
link_to_gfm
commit
.
title
,
namespace_project_commit_path
(
@project
.
namespace
,
@project
,
commit
.
id
),
class:
"tree-commit-link"
=
link_to_gfm
commit
.
title
,
namespace_project_commit_path
(
@project
.
namespace
,
@project
,
commit
.
id
),
class:
"tree-commit-link"
%span
.tree_author
[
commit_author_link(commit, avatar: false)
]
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