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:
authorDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-21 01:59:35 +0400
committerDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>2012-03-21 01:59:35 +0400
commitb57faf9282d7df6cdd62953d474652a0ae2e6896 (patch)
treef0d5b826df373191b4681452fc2ae4c5970cef4a /app/views/events/_commit.html.haml
parentcadf12c60cc27c5b0b8273c1de4b190a0e88bd7d (diff)
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"
+