2017-04-11 18:24:04 +00:00
|
|
|
= icon_for_profile_event(event)
|
2017-04-11 13:14:04 +00:00
|
|
|
|
2018-11-06 14:33:42 +00:00
|
|
|
= event_user_info(event)
|
|
|
|
|
|
|
|
.event-title.d-flex.flex-wrap
|
|
|
|
= inline_event_icon(event)
|
2012-10-12 11:37:44 +00:00
|
|
|
- if event.target
|
2020-06-24 18:09:03 +00:00
|
|
|
%span.event-type.d-inline-block.gl-mr-2{ class: event.action_name }
|
2018-11-06 14:33:42 +00:00
|
|
|
= event.action_name
|
2020-10-01 00:10:16 +00:00
|
|
|
%span.event-target-type.gl-mr-2= event.target_type_name
|
2020-06-24 18:09:03 +00:00
|
|
|
= link_to event.target_link_options, class: 'has-tooltip event-target-link gl-mr-2', title: event.target_title do
|
2018-11-06 14:33:42 +00:00
|
|
|
= event.target.reference_link_text
|
|
|
|
- unless event.milestone?
|
2020-09-15 18:09:43 +00:00
|
|
|
%span.event-target-title.gl-text-overflow-ellipsis.gl-overflow-hidden.gl-mr-2{ dir: "auto" }
|
2019-04-25 11:40:34 +00:00
|
|
|
= """.html_safe + event.target.title + """.html_safe
|
2016-06-01 11:11:16 +00:00
|
|
|
- else
|
2020-06-24 18:09:03 +00:00
|
|
|
%span.event-type.d-inline-block.gl-mr-2{ class: event.action_name }
|
2018-11-06 14:33:42 +00:00
|
|
|
= event_action_name(event)
|
2015-08-31 04:51:34 +00:00
|
|
|
|
2019-09-10 10:11:38 +00:00
|
|
|
= render "events/event_scope", event: event if event.resource_parent.present?
|