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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt (-1 / +1 lines)
Lines 403-409 Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]</div> Link Here
403
    [% END %]
403
    [% END %]
404
    [% FOREACH lang_lis IN lang_list %]
404
    [% FOREACH lang_lis IN lang_list %]
405
        <optgroup label="[% lang_lis.language | html %]">
405
        <optgroup label="[% lang_lis.language | html %]">
406
            [% FOREACH location IN [ '', 'OpacNavRight', 'opacheader', 'OpacCustomSearch', 'OpacMainUserBlock', 'opaccredits', 'OpacLoginInstructions'] %]
406
            [% FOREACH location IN [ '', 'OpacNavRight', 'opacheader', 'OpacCustomSearch', 'OpacMainUserBlock', 'opaccredits', 'OpacLoginInstructions', 'OpacSuggestionInstructions'] %]
407
                [% IF ( location == '' ) %]
407
                [% IF ( location == '' ) %]
408
                    [% SET location_lang = lang_lis.language %]
408
                    [% SET location_lang = lang_lis.language %]
409
                    [% location = BLOCK %]OPAC news[% END %]
409
                    [% location = BLOCK %]OPAC news[% END %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-suggestions.tt (-5 / +9 lines)
Lines 4-9 Link Here
4
[% USE Branches %]
4
[% USE Branches %]
5
[% USE AuthorisedValues %]
5
[% USE AuthorisedValues %]
6
[% USE KohaDates %]
6
[% USE KohaDates %]
7
[% USE KohaNews %]
8
[% SET opacsuggestion = KohaNews.get( location => "OpacSuggestioninstructions", lang => lang, library => branchcode ) %]
7
[% INCLUDE 'doc-head-open.inc' %]
9
[% INCLUDE 'doc-head-open.inc' %]
8
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo;
10
<title>[% IF ( LibraryNameTitle ) %][% LibraryNameTitle | html %][% ELSE %]Koha online[% END %] catalog &rsaquo;
9
[% IF ( op_add ) %]Enter a new purchase suggestion[% END %]
11
[% IF ( op_add ) %]Enter a new purchase suggestion[% END %]
Lines 47-57 Link Here
47
                                    <h1 class="TooManySuggestions">You cannot place any more suggestions</h1>
49
                                    <h1 class="TooManySuggestions">You cannot place any more suggestions</h1>
48
                                    <h2 class="TooManySuggestionsText">You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') | html %]). Once the library has processed those suggestions you will be able to place more.</h2>
50
                                    <h2 class="TooManySuggestionsText">You have reached your limit for suggestions you can place at this time ([% Koha.Preference('MaxOpenSuggestions') | html %]). Once the library has processed those suggestions you will be able to place more.</h2>
49
                            [% ELSE %]
51
                            [% ELSE %]
50
                            <h1>Enter a new purchase suggestion</h1>
52
                            [% IF ( opacsuggestion ) %]
51
53
                                [% PROCESS koha_news_block news => opacsuggestion %]
52
                            <p>Please fill out this form to make a purchase suggestion. You will receive an email when the library processes your suggestion.</p>
54
                            [% ELSE %]
53
                            <p>Only certain fields (marked in red) are required, but the more information you enter the easier it will be for the librarians to find the title you're requesting. The "Notes" field can be used to provide any additional information.</p>
55
                                <h1>Enter a new purchase suggestion</h1>
54
56
57
                                <p>Please fill out this form to make a purchase suggestion. You will receive an email when the library processes your suggestion.</p>
58
                                <p>Only certain fields (marked in red) are required, but the more information you enter the easier it will be for the librarians to find the title you're requesting. The "Notes" field can be used to provide any additional information.</p>
59
                            [% END %]
55
                            [% FOR m IN messages %]
60
                            [% FOR m IN messages %]
56
                                <div class="alert alert-[% m.type | html %]">
61
                                <div class="alert alert-[% m.type | html %]">
57
                                    [% SWITCH m.code %]
62
                                    [% SWITCH m.code %]
58
- 

Return to bug 26630