gitlab-org--gitlab-foss/app/views/events/_event_scope.html.haml

7 lines
193 B
Text
Raw Normal View History

%span.event-scope
= event_preposition(event)
- if event.project
= link_to_project(event.project)
- elsif event.group
= link_to event.resource_parent_name, group_path(event.group)