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

_common.html.haml « event « events « views « app - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 2a98e58a03a0b1201fb17efdedd60c6cd985ea48 (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
28
- if event.target
  - if event.action_name == "opened"
    .profile-icon.open-icon
      = custom_icon("icon_status_open")
  - elsif event.action_name == "closed"
    .profile-icon.closed-icon
      = custom_icon("icon_status_closed")
  - else
    .profile-icon.fork-icon
      = custom_icon("code_fork")

.event-title
  %span{ class: event.action_name }
  - if event.target
    = event.action_name
    %strong
      = link_to [event.project.namespace.becomes(Namespace), event.project, event.target], class: 'has-tooltip', title: event.target_title do
        = event.target_type.titleize.downcase
        = event.target.reference_link_text
  - else
    = event_action_name(event)

  = render "events/event_scope", event: event

- if event.target.respond_to?(:title)
  .event-body
    .event-note
      = event.target.title