tree css fixes
This commit is contained in:
parent
8716fc78f3
commit
bcf03b5de6
|
@ -182,6 +182,7 @@ table.highlighttable .linenodiv pre {
|
||||||
}
|
}
|
||||||
|
|
||||||
a.tree-commit-link {
|
a.tree-commit-link {
|
||||||
|
color: #666;
|
||||||
&:hover {
|
&:hover {
|
||||||
text-decoration: underline;
|
text-decoration: underline;
|
||||||
}
|
}
|
||||||
|
|
|
@ -14,5 +14,5 @@
|
||||||
%td.commit
|
%td.commit
|
||||||
- tm = @project.team_member_by_name_or_email(content_commit.author_email, content_commit.author_name)
|
- tm = @project.team_member_by_name_or_email(content_commit.author_email, content_commit.author_name)
|
||||||
- if tm
|
- if tm
|
||||||
= link_to "[#{tm.user_name}]", project_team_member_path(@project, tm)
|
%strong= link_to "[#{tm.user_name}]", project_team_member_path(@project, tm)
|
||||||
= link_to truncate(content_commit.safe_message, :length => tm ? 30 : 50), project_commit_path(@project, content_commit.id), :class => "tree-commit-link"
|
= link_to truncate(content_commit.safe_message, :length => tm ? 30 : 50), project_commit_path(@project, content_commit.id), :class => "tree-commit-link"
|
||||||
|
|
Loading…
Reference in a new issue