View | Details | Raw Unified | Return to bug 36274
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-5 / +4 lines)
Lines 9-15 Link Here
9
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
9
[% SET OpacNav = AdditionalContents.get( location => "OpacNav", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
10
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
10
[% SET OpacNavBottom = AdditionalContents.get( location => "OpacNavBottom", lang => lang, library => logged_in_user.branchcode || default_branch, blocktitle => 0 ) %]
11
[% INCLUDE 'doc-head-open.inc' %]
11
[% INCLUDE 'doc-head-open.inc' %]
12
<title>[% IF ( op_add_form ) %]Enter a new purchase suggestion[% END %]
12
<title>[% IF ( op_add ) %]Enter a new purchase suggestion[% END %]
13
[% IF ( op_else ) %]Purchase suggestions[% END %] &rsaquo;
13
[% IF ( op_else ) %]Purchase suggestions[% END %] &rsaquo;
14
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
14
[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog</title>
15
[% INCLUDE 'doc-head-close.inc' %]
15
[% INCLUDE 'doc-head-close.inc' %]
Lines 25-31 Link Here
25
                    <a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a>
25
                    <a href="/cgi-bin/koha/opac-user.pl">[% INCLUDE 'patron-title.inc' patron = logged_in_user %]</a>
26
                [% END %]
26
                [% END %]
27
            [% END %]
27
            [% END %]
28
            [% IF ( op_add_form ) %]
28
            [% IF ( op_add ) %]
29
                [% WRAPPER breadcrumb_item %]
29
                [% WRAPPER breadcrumb_item %]
30
                    <a href="/cgi-bin/koha/opac-suggestions.pl">Purchase suggestions</a>
30
                    <a href="/cgi-bin/koha/opac-suggestions.pl">Purchase suggestions</a>
31
                [% END %]
31
                [% END %]
Lines 49-55 Link Here
49
                <div class="col-md-12 col-lg-10 order-1">
49
                <div class="col-md-12 col-lg-10 order-1">
50
50
51
                    <div id="usersuggestions" class="maincontent">
51
                    <div id="usersuggestions" class="maincontent">
52
                        [% IF ( op_add_form ) %]
52
                        [% IF ( op_add ) %]
53
                            <h1>Your purchase suggestions</h1>
53
                            <h1>Your purchase suggestions</h1>
54
                            [% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %]
54
                            [% IF ( Koha.Preference('MaxTotalSuggestions') != '' && patrons_total_suggestions_count >= Koha.Preference('MaxTotalSuggestions') ) %]
55
                                    <h2 class="TooManySuggestions">You cannot place any more suggestions</h2>
55
                                    <h2 class="TooManySuggestions">You cannot place any more suggestions</h2>
Lines 305-311 Link Here
305
                                </fieldset>
305
                                </fieldset>
306
                            </form>
306
                            </form>
307
                            [% END %]
307
                            [% END %]
308
                        [% END #  IF op_add_form %]
308
                        [% END #  IF op_add %]
309
309
310
                        [% IF ( op_else ) %]
310
                        [% IF ( op_else ) %]
311
                            <h1>
311
                            <h1>
312
- 

Return to bug 36274