Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Give the onboarding video activation link a uniqe class to avoid conflicts with the export modals on certain pages (e.g. wiki or project list)

Henriette Dargefee9925a7d99
diff --git a/app/views/onboarding/_menu_item.html.erb b/app/views/onboarding/_menu_item.html.erb
index 4e4db888eb5..9ae6e98547f 100644
--- a/app/views/onboarding/_menu_item.html.erb
+++ b/app/views/onboarding/_menu_item.html.erb
@@ -29,12 +29,13 @@ See COPYRIGHT and LICENSE files for more details.
<li
class="op-menu--item"
data-augmented-model-wrapper
+ data-activation-selector=".onboarding-modal--activation-link"
data-modal-iframe-url="<%= OpenProject::Configuration.onboarding_video_url %>"
data-modal-class-name="onboarding-modal op-modal_autoheight -highlight"
>
<%= link_to t(:label_introduction_video),
'',
title: t(:label_introduction_video),
- class: 'op-menu--item-action modal-delivery-element--activation-link' %>
+ class: 'op-menu--item-action onboarding-modal--activation-link' %>
<%= render partial: '/onboarding/onboarding_video_modal' %>
</li>