=link_tos_("Promotions|Don't show me this again"),'#',class: ['gl-button','btn','js-close','js-close-callout','gl-mt-3','tr-issue-weights-dont-show-me-again'],data: {track_event: 'click_dontshow'}.merge(tracking_options)
=link_tos_('Promotions|Try it for free'),new_trial_registration_path(glm_source: 'gitlab.com',glm_content: 'discover-issue-weights'),class: 'btn btn-primary issue-weights-trial-cta',target: target_blank?'_blank':'_self'
-else
-current_group=@project&.group||@group
=link_tos_('Promotions|Upgrade your plan'),upgrade_plan_path(current_group),class: 'btn btn-primary issue-weights-upgrade-cta',target: target_blank?'_blank':'_self'
-elsifnamespace.is_a?(Group)
%p=s_('Promotions|Contact an owner of group %{namespace_name} to upgrade the plan.')%{namespace_name: namespace.name}