summaryrefslogtreecommitdiff
path: root/app/views/events/_commit.html.haml
diff options
context:
space:
mode:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-20 23:59:35 +0200
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-20 23:59:35 +0200
commitb57faf9282d7df6cdd62953d474652a0ae2e6896 (patch)
treef0d5b826df373191b4681452fc2ae4c5970cef4a /app/views/events/_commit.html.haml
parentcadf12c60cc27c5b0b8273c1de4b190a0e88bd7d (diff)
downloadgitlab-ce-b57faf9282d7df6cdd62953d474652a0ae2e6896.tar.gz
Push events polishedv2.3.0
Diffstat (limited to 'app/views/events/_commit.html.haml')
-rw-r--r--app/views/events/_commit.html.haml9
1 files changed, 9 insertions, 0 deletions
diff --git a/app/views/events/_commit.html.haml b/app/views/events/_commit.html.haml
new file mode 100644
index 00000000000..60112b508a8
--- /dev/null
+++ b/app/views/events/_commit.html.haml
@@ -0,0 +1,9 @@
+%li.wll.commit
+ = link_to project_commit_path(project, :id => commit.id) do
+ %p
+ %code.left= commit.id.to_s[0..10]
+ %strong.cgray= commit.author_name
+ &ndash;
+ = image_tag gravatar_icon(commit.author_email), :class => "avatar", :width => 16
+ %span.row_title= truncate(commit.safe_message, :length => 50) rescue "--broken encoding"
+