From bc20806f187e6b21b51fa11658fdf8da91ff3a55 Mon Sep 17 00:00:00 2001 From: Jonathan Druart Date: Fri, 13 Nov 2015 15:45:04 +0000 Subject: [PATCH] Bug 15114: Fix typo in opac-suggestion template MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit There is a $ in front of the loggedinusername variable, which is obviously not what is expected here. It fixes the wrong warning message "You are not authorized to see pending purchase suggestions." when it should be "There are no pending purchase suggestions." Signed-off-by: Frédéric Demians Signed-off-by: Katrin Fischer Signed-off-by: Tomas Cohen Arazi (cherry picked from commit 621f2ce9ac960d93466c9da5b4c6559e71519e3d) Signed-off-by: Frédéric Demians (cherry picked from commit c262b16abec3d23eea864eed91dd132685ff6285) Signed-off-by: Liz Rea --- koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt index e249709472..9212ed42dd 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -244,7 +244,7 @@ [% END %] [% ELSE %] - [% UNLESS Koha.Preference( 'OPACViewOthersSuggestions' ) or $loggedinusername %] + [% UNLESS Koha.Preference( 'OPACViewOthersSuggestions' ) or loggedinusername %]

You are not authorized to see pending purchase suggestions.

[% ELSE %]

There are no pending purchase suggestions.

-- 2.39.5