From 2c7a60eb0e81a2a4d351b3738fa9ceda476a6daf Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Tue, 1 Nov 2022 09:41:39 -0400 Subject: [PATCH] Replace remaining "follow" route instances to "contact/follow" --- src/Module/Notifications/Introductions.php | 2 +- view/templates/widget/follow.tpl | 2 +- view/theme/frio/templates/widget/follow.tpl | 2 +- view/theme/smoothly/templates/widget/follow.tpl | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Module/Notifications/Introductions.php b/src/Module/Notifications/Introductions.php index 2bd03e3071..f8a63e7208 100644 --- a/src/Module/Notifications/Introductions.php +++ b/src/Module/Notifications/Introductions.php @@ -128,7 +128,7 @@ class Introductions extends BaseNotifications '$zrl' => $Introduction->getZrl(), '$lbl_url' => $this->t('Profile URL'), '$addr' => $Introduction->getAddr(), - '$action' => 'follow', + '$action' => 'contact/follow', '$approve' => $this->t('Approve'), '$note' => $Introduction->getNote(), '$ignore' => $this->t('Ignore'), diff --git a/view/templates/widget/follow.tpl b/view/templates/widget/follow.tpl index 076940a62b..dd28e43171 100644 --- a/view/templates/widget/follow.tpl +++ b/view/templates/widget/follow.tpl @@ -2,7 +2,7 @@

{{$connect}}

{{$desc nofilter}}
-
+
diff --git a/view/theme/frio/templates/widget/follow.tpl b/view/theme/frio/templates/widget/follow.tpl index b2a902fff3..18bb9db914 100644 --- a/view/theme/frio/templates/widget/follow.tpl +++ b/view/theme/frio/templates/widget/follow.tpl @@ -2,7 +2,7 @@

{{$connect}}

-
+ {{* The input field - For visual consistence we are using a search input field*}}