@@ -, +, @@ - With the OPACViewOthersSuggestions preference disabled, log in to the OPAC and view your suggestions. - If you have no suggestions you should see a Bootstrap-styled message box, "You have no pending purchase suggestions." - If necessary, submit a suggestion. With at least one suggestion present you should see a search form above the table of suggestions. The label, form field, and submit button should line up nicely. - Test that the search form works correctly to find suggestions in your system. - If you search for a suggestion which doesn't exist you should see a message-style alert, "There are no pending purchase suggestions matching your search." - Enable the OPACViewOthersSuggestions system preference. - Return to the OPAC suggestions page. The form field should now include a nicely-styled "Suggested by" filter. --- .../bootstrap/en/modules/opac-suggestions.tt | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) --- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt +++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt @@ -313,8 +313,12 @@ [% SET can_delete_suggestion = 0 %]
- - +
+ +
+
+ +
[% IF Koha.Preference( 'OPACViewOthersSuggestions' ) == 1 %] [% IF loggedinusername %]
@@ -460,21 +464,21 @@ [% ELSE %] [% IF Koha.Preference( 'OPACViewOthersSuggestions' ) %] [% IF title_filter %] -

There are no pending purchase suggestions matching your search.

+ [% ELSIF loggedinusername AND NOT suggested_by_anyone %] -

You have no pending purchase suggestions. View all suggestions

+ [% ELSE %] -

There are no pending purchase suggestions.

+ [% END %] [% ELSE %] [% IF ( loggedinusername ) %] [% IF title_filter %] -

There are no pending purchase suggestions matching your search.

+ [% ELSE %] -

You have no pending purchase suggestions.

+ [% END %] [% ELSE %] -

You are not authorized to see pending purchase suggestions.

+ [% END %] [% END %] [% IF ( loggedinusername || ( Koha.Preference( 'AnonSuggestions' ) == 1 ) ) %] --