Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrandx <dmitriy.zaporozhets@gmail.com>2012-07-28 01:27:54 +0400
committerrandx <dmitriy.zaporozhets@gmail.com>2012-07-28 01:27:54 +0400
commitbc7897180d8cfad0f573137d379fedfa7939ee0f (patch)
treebfa7c70b6ec84c792348585c2e09f0bc46bc35ea /app/views/events/_commit.html.haml
parent9a709f76be3a3e8911f404aec6116a848748c943 (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.haml6
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
&ndash;
= 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"