Welcome to mirror list, hosted at ThFree Co, Russian Federation.

calendar_activities.html.haml « users « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b09782749f52d167de58354ef37e40659a96bd59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
%h4.prepend-top-20
  Contributions for
  %strong= @calendar_date.to_s(:short)

- 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}
        - else
          = event_action_name(event)
          - if event.target
            %strong= link_to "#{event.target.to_reference}", [event.project.namespace.becomes(Namespace), event.project, event.target]

        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)}