From 6bfe262975f8fa976a6faebedcbac4578d8ae25a 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 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." --- 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 4d792f6..78d18fc 100644 --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -234,7 +234,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.1.0