summaryrefslogtreecommitdiff
path: root/app/views/users/calendar_activities.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/users/calendar_activities.html.haml')
-rw-r--r--app/views/users/calendar_activities.html.haml7
1 files changed, 3 insertions, 4 deletions
diff --git a/app/views/users/calendar_activities.html.haml b/app/views/users/calendar_activities.html.haml
index 4200233dc4b..027a93a75fc 100644
--- a/app/views/users/calendar_activities.html.haml
+++ b/app/views/users/calendar_activities.html.haml
@@ -1,4 +1,3 @@
-.calendar_commit_activity
%h4.prepend-top-20
%span.light Contributions for
%strong #{@calendar_date.to_s(:short)}
@@ -9,14 +8,14 @@
%span.light
%i.fa.fa-clock-o
= event.created_at.to_s(:time)
- - if event.push? && event.commits_count > 0
- pushed #{event.commits_count} commits to
+ - if event.push?
+ #{event.action_name} #{event.ref_type} #{event.ref_name}
- else
= event_action_name(event)
- if event.target
%strong= link_to "##{event.target_iid}", [event.project.namespace.becomes(Namespace), event.project, event.target]
- at
+ at
%strong
- if event.project
= link_to_project event.project