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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
859 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 }
2022-11-25 23:54:43 +05:30
= localized_action_name(event)
2021-01-03 14:25:43 +05:30
%span.event-target-type.gl-mr-2= event.target_type_name
2022-10-02 17:18:49 +05:30
= link_to event_target_path(event), 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-11-24 15:15:51 +05:30
%span.event-target-title.gl-text-overflow-ellipsis.gl-overflow-hidden.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?