diff options
author | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-23 00:52:44 +0300 |
---|---|---|
committer | Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> | 2015-03-23 00:52:44 +0300 |
commit | 8494170550063c2d0308963cbd14cb46a292c401 (patch) | |
tree | d09589d8c21d4fd9e602409917e696580b8b0b1d /app/views/users/calendar_activities.html.haml | |
parent | 7d84252e052de03431edf39d1f3eeebad34758be (diff) |
Improve contribution calendar per day info
Diffstat (limited to 'app/views/users/calendar_activities.html.haml')
-rw-r--r-- | app/views/users/calendar_activities.html.haml | 7 |
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 |