= 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.titleize.downcase = 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-mr-2{ dir: "auto" } = """.html_safe + event.target.title + """.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?