2015-04-26 12:48:37 +05:30
|
|
|
%h4.prepend-top-20
|
2016-06-16 23:09:34 +05:30
|
|
|
Contributions for
|
2015-04-26 12:48:37 +05:30
|
|
|
%strong #{@calendar_date.to_s(:short)}
|
|
|
|
|
2016-06-16 23:09:34 +05:30
|
|
|
- if @events.any?
|
|
|
|
%ul.bordered-list
|
|
|
|
- @events.sort_by(&:created_at).each do |event|
|
|
|
|
%li
|
|
|
|
%span.light
|
|
|
|
%i.fa.fa-clock-o
|
|
|
|
= event.created_at.to_s(:time)
|
|
|
|
- if event.push?
|
|
|
|
#{event.action_name} #{event.ref_type} #{event.ref_name}
|
2015-04-26 12:48:37 +05:30
|
|
|
- else
|
2016-06-16 23:09:34 +05:30
|
|
|
= event_action_name(event)
|
|
|
|
- if event.target
|
2016-08-24 12:49:21 +05:30
|
|
|
%strong= link_to "#{event.target.to_reference}", [event.project.namespace.becomes(Namespace), event.project, event.target]
|
2016-06-16 23:09:34 +05:30
|
|
|
|
|
|
|
at
|
|
|
|
%strong
|
|
|
|
- if event.project
|
|
|
|
= link_to_project event.project
|
|
|
|
- else
|
|
|
|
= event.project_name
|
|
|
|
- else
|
|
|
|
%p
|
|
|
|
No contributions found for #{@calendar_date.to_s(:short)}
|