Merge pull request #12092 from MrPetovan/bug/12090-contact-route

Replace remaining "follow" route instances to "contact/follow"
This commit is contained in:
Philipp 2022-11-01 15:13:19 +01:00 committed by GitHub
commit cf2b28fffd
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 4 deletions

View file

@ -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'),

View file

@ -2,7 +2,7 @@
<div id="follow-sidebar" class="widget">
<h3>{{$connect}}</h3>
<div id="connect-desc">{{$desc nofilter}}</div>
<form action="follow" method="get">
<form action="contact/follow" method="get">
<input id="side-follow-url" type="text" name="url" value="{{$value}}" size="24" placeholder="{{$hint}}" title="{{$hint}}" /><input id="side-follow-submit" type="submit" name="submit" value="{{$follow}}" />
</form>
</div>

View file

@ -2,7 +2,7 @@
<div id="follow-sidebar" class="widget">
<h3>{{$connect}}</h3>
<form action="follow" method="get">
<form action="contact/follow" method="get">
{{* The input field - For visual consistence we are using a search input field*}}
<div class="form-group form-group-search">
<input id="side-follow-url" class="search-input form-control form-search" type="text" name="url" value="{{$value}}" placeholder="{{$hint}}" data-toggle="tooltip" title="{{$hint}}" />

View file

@ -2,7 +2,7 @@
<div id="follow-sidebar" class="widget">
<h3>{{$connect}}</h3>
<div id="connect-desc">{{$desc nofilter}}</div>
<form action="follow" method="post">
<form action="contact/follow" method="post">
<input id="side-follow-url" type="text-sidebar" name="url" size="24" title="{{$hint}}" /><input id="side-follow-submit" type="submit" name="submit" value="{{$follow}}" />
</form>
</div>