debian-mirror-gitlab/app/views/events/event/_common.html.haml
2021-01-03 14:25:43 +05:30

20 lines
849 B
Text

= icon_for_profile_event(event)
= event_user_info(event)
.event-title.d-flex.flex-wrap
= inline_event_icon(event)
- if event.target
%span.event-type.d-inline-block.gl-mr-2{ class: event.action_name }
= event.action_name
%span.event-target-type.gl-mr-2= event.target_type_name
= link_to event.target_link_options, class: 'has-tooltip event-target-link gl-mr-2', title: event.target_title do
= event.target.reference_link_text
- unless event.milestone?
%span.event-target-title.gl-text-overflow-ellipsis.gl-overflow-hidden.gl-mr-2{ dir: "auto" }
= """.html_safe + event.target.title + "&quot".html_safe
- else
%span.event-type.d-inline-block.gl-mr-2{ class: event.action_name }
= event_action_name(event)
= render "events/event_scope", event: event if event.resource_parent.present?