Put author name at the end of a tree row
Signed-off-by: Sven Strickroth <email@cs-ware.de>
This commit is contained in:
parent
8ec7025a5d
commit
ee0fc2c3ad
|
@ -60,11 +60,7 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.tree_author {
|
.tree_author {
|
||||||
padding-right: 8px;
|
padding-left: 8px;
|
||||||
|
|
||||||
.commit-author-name {
|
|
||||||
color: gray;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.tree_commit {
|
.tree_commit {
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
%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)
|
||||||
|
]
|
||||||
|
|
Loading…
Reference in New Issue