debian-mirror-gitlab/app/views/events/event/_common.html.haml

21 lines
852 B
Text
Raw Normal View History

2017-08-17 22:00:37 +05:30
= icon_for_profile_event(event)
2018-12-13 13:39:08 +05:30
= event_user_info(event)
.event-title.d-flex.flex-wrap
= inline_event_icon(event)
2014-09-02 18:07:02 +05:30
- if event.target
2018-12-13 13:39:08 +05:30
%span.event-type.d-inline-block.append-right-4{ class: event.action_name }
= event.action_name
%span.event-target-type.append-right-4= event.target_type.titleize.downcase
2019-12-04 20:38:33 +05:30
= link_to event.target_link_options, class: 'has-tooltip event-target-link append-right-4', title: event.target_title do
2018-12-13 13:39:08 +05:30
= event.target.reference_link_text
- unless event.milestone?
2019-07-31 22:56:46 +05:30
%span.event-target-title.append-right-4{ dir: "auto" }
= """.html_safe + event.target.title + "&quot".html_safe
- else
2018-12-13 13:39:08 +05:30
%span.event-type.d-inline-block.append-right-4{ class: event.action_name }
= event_action_name(event)
2015-09-25 12:07:36 +05:30
2019-12-04 20:38:33 +05:30
= render "events/event_scope", event: event if event.resource_parent.present?