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:
authorAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-03-31 23:39:31 +0300
committerAnnabel Dunstone Gray <annabel.dunstone@gmail.com>2017-04-03 16:34:36 +0300
commit633457563a9e9ef9473a00019dd243430aa08e80 (patch)
treeb1a4f6c61075454824da9b613c30d3ea9418a03f /app/views/events/event/_push.html.haml
parentb90f83e93319d54d558b29838d7453444f3fcf11 (diff)
Differentiate between event types
Diffstat (limited to 'app/views/events/event/_push.html.haml')
-rw-r--r--app/views/events/event/_push.html.haml5
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/events/event/_push.html.haml b/app/views/events/event/_push.html.haml
index efd13aabf20..be1730541ef 100644
--- a/app/views/events/event/_push.html.haml
+++ b/app/views/events/event/_push.html.haml
@@ -1,7 +1,9 @@
- project = event.project
+.event-icon
+ = custom_icon("icon_commit")
+
.event-title
- %span.author_name= link_to_author event
%span.pushed #{event.action_name} #{event.ref_type}
%strong
- commits_link = namespace_project_commits_path(project.namespace, project, event.ref_name)
@@ -48,4 +50,3 @@
.event-body
%ul.well-list.event_commits
= render "events/commit", commit: last_commit, project: project, event: event
-