From bcf03b5de6c33f3869ef70d68cf06e679d1d7f9a Mon Sep 17 00:00:00 2001 From: Dmitriy Zaporozhets Date: Mon, 27 Feb 2012 20:51:12 +0200 Subject: [PATCH] tree css fixes --- app/assets/stylesheets/tree.scss | 1 + app/views/refs/_tree_item.html.haml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/tree.scss b/app/assets/stylesheets/tree.scss index 36ccbf7..d86c632 100644 --- a/app/assets/stylesheets/tree.scss +++ b/app/assets/stylesheets/tree.scss @@ -182,6 +182,7 @@ table.highlighttable .linenodiv pre { } a.tree-commit-link { + color: #666; &:hover { text-decoration: underline; } diff --git a/app/views/refs/_tree_item.html.haml b/app/views/refs/_tree_item.html.haml index b5c2922..420307c 100644 --- a/app/views/refs/_tree_item.html.haml +++ b/app/views/refs/_tree_item.html.haml @@ -14,5 +14,5 @@ %td.commit - tm = @project.team_member_by_name_or_email(content_commit.author_email, content_commit.author_name) - 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" -- libgit2 0.21.2