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

add rel="nofollow" to project list action links

ulferts5afbd35cf067
diff --git a/app/components/projects/index_page_header_component.html.erb b/app/components/projects/index_page_header_component.html.erb
index 9c5d8140a0d..0878c0e3d59 100644
--- a/app/components/projects/index_page_header_component.html.erb
+++ b/app/components/projects/index_page_header_component.html.erb
@@ -99,7 +99,8 @@
menu.with_item(
tag: :a,
label: t(:label_overall_activity),
- href: activities_path
+ href: activities_path,
+ content_arguments: { rel: "nofollow" }
) do |item|
item.with_leading_visual_icon(icon: 'tasklist')
end
@@ -125,7 +126,7 @@
tag: :a,
label: t('js.label_export'),
href: export_list_modal_projects_path(projects_query_params),
- content_arguments: { data: { controller: "async-dialog" } }
+ content_arguments: { data: { controller: "async-dialog" }, rel: "nofollow" }
) do |item|
item.with_leading_visual_icon(icon: 'sign-out')
end