diff options
author | randx <dmitriy.zaporozhets@gmail.com> | 2012-07-28 01:27:54 +0400 |
---|---|---|
committer | randx <dmitriy.zaporozhets@gmail.com> | 2012-07-28 01:27:54 +0400 |
commit | bc7897180d8cfad0f573137d379fedfa7939ee0f (patch) | |
tree | bfa7c70b6ec84c792348585c2e09f0bc46bc35ea /app/views/events/_commit.html.haml | |
parent | 9a709f76be3a3e8911f404aec6116a848748c943 (diff) |
Better visibility of event commit links & commits ids
Diffstat (limited to 'app/views/events/_commit.html.haml')
-rw-r--r-- | app/views/events/_commit.html.haml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/views/events/_commit.html.haml b/app/views/events/_commit.html.haml index 5a9d223d546..d6c5546148d 100644 --- a/app/views/events/_commit.html.haml +++ b/app/views/events/_commit.html.haml @@ -1,9 +1,9 @@ - commit = CommitDecorator.decorate(commit) %li.wll.commit %p - %code.left= link_to commit.short_id, project_commit_path(project, :id => commit.id) - %strong.cgray= commit.author_name + = link_to commit.short_id(8), project_commit_path(project, :id => commit.id), :class => "commit_short_id" + %strong.cdark= commit.author_name – = image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16 - = link_to truncate(commit.title, :length => 50), project_commit_path(project, :id => commit.id), :class => "row_title" rescue "--broken encoding" + = truncate(commit.title, :length => 50) rescue "--broken encoding" |