Better visibility of event commit links & commits ids

This commit is contained in:
randx 2012-07-28 00:27:54 +03:00
parent 9a709f76be
commit bc7897180d
6 changed files with 23 additions and 9 deletions

View file

@ -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"