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

21 lines
817 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
2020-07-28 23:09:34 +05:30
%span.event-type.d-inline-block.gl-mr-2{ class: event.action_name }
2018-12-13 13:39:08 +05:30
= event.action_name
2020-07-28 23:09:34 +05:30
%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
2018-12-13 13:39:08 +05:30
= event.target.reference_link_text
- unless event.milestone?
2020-07-28 23:09:34 +05:30
%span.event-target-title.gl-mr-2{ dir: "auto" }
2019-07-31 22:56:46 +05:30
= """.html_safe + event.target.title + "&quot".html_safe
- else
2020-07-28 23:09:34 +05:30
%span.event-type.d-inline-block.gl-mr-2{ class: event.action_name }
2018-12-13 13:39:08 +05:30
= 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?