Commit bcf03b5de6c33f3869ef70d68cf06e679d1d7f9a
1 parent
8716fc78
Exists in
master
and in
4 other branches
tree css fixes
Showing
2 changed files
with
2 additions
and
1 deletions
Show diff stats
app/assets/stylesheets/tree.scss
@@ -182,6 +182,7 @@ table.highlighttable .linenodiv pre { | @@ -182,6 +182,7 @@ table.highlighttable .linenodiv pre { | ||
182 | } | 182 | } |
183 | 183 | ||
184 | a.tree-commit-link { | 184 | a.tree-commit-link { |
185 | + color: #666; | ||
185 | &:hover { | 186 | &:hover { |
186 | text-decoration: underline; | 187 | text-decoration: underline; |
187 | } | 188 | } |
app/views/refs/_tree_item.html.haml
@@ -14,5 +14,5 @@ | @@ -14,5 +14,5 @@ | ||
14 | %td.commit | 14 | %td.commit |
15 | - tm = @project.team_member_by_name_or_email(content_commit.author_email, content_commit.author_name) | 15 | - tm = @project.team_member_by_name_or_email(content_commit.author_email, content_commit.author_name) |
16 | - if tm | 16 | - if tm |
17 | - = link_to "[#{tm.user_name}]", project_team_member_path(@project, tm) | 17 | + %strong= link_to "[#{tm.user_name}]", project_team_member_path(@project, tm) |
18 | = link_to truncate(content_commit.safe_message, :length => tm ? 30 : 50), project_commit_path(@project, content_commit.id), :class => "tree-commit-link" | 18 | = link_to truncate(content_commit.safe_message, :length => tm ? 30 : 50), project_commit_path(@project, content_commit.id), :class => "tree-commit-link" |