From 0edfd0cab5815af47e1d94ae573b37b401969db2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Javi=20Mart=C3=ADn?= Date: Thu, 12 Oct 2023 15:50:48 +0200 Subject: [PATCH] Open management links in the same window We were doing it this way because managers usually have the management section open at all times. However, this might not always be the case, and by opening links in a new tab, we're taking control away from them. If managers would like to keep the management section open, they can open the link in a new tab, and if they open it in the same tab, they can go back to the management section by either clicking the browser's back button or clicking on the navigation link to the management section. --- .../management/document_verifications/invalid_document.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/management/document_verifications/invalid_document.html.erb b/app/views/management/document_verifications/invalid_document.html.erb index ef0aa7686..0e785e305 100644 --- a/app/views/management/document_verifications/invalid_document.html.erb +++ b/app/views/management/document_verifications/invalid_document.html.erb @@ -12,5 +12,5 @@

<%= sanitize(t("management.document_verifications.has_no_account", - link: link_to(t("management.document_verifications.link"), root_path, target: "_blank"))) %> + link: link_to(t("management.document_verifications.link"), root_path))) %>