View | Details | Raw Unified | Return to bug 27318
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' , 'ShibbolethLoginInstructions'] %]
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/includes/masthead.inc (-3 / +7 lines)
Lines 8-13 Link Here
8
[% SET OpacHeader = KohaNews.get( location => "opacheader", lang => lang, library => branchcode, blocktitle => 0 ) %]
8
[% SET OpacHeader = KohaNews.get( location => "opacheader", lang => lang, library => branchcode, blocktitle => 0 ) %]
9
[% SET OpacCustomSearch = KohaNews.get( location => "OpacCustomSearch", lang => lang, library => branchcode, blocktitle => 0 ) %]
9
[% SET OpacCustomSearch = KohaNews.get( location => "OpacCustomSearch", lang => lang, library => branchcode, blocktitle => 0 ) %]
10
[% SET OpacLoginInstructions = KohaNews.get( location => "OpacLoginInstructions", lang => lang, library => branchcode ) %]
10
[% SET OpacLoginInstructions = KohaNews.get( location => "OpacLoginInstructions", lang => lang, library => branchcode ) %]
11
[% SET ShibbolethLoginInstructions = KohaNews.get( location => "ShibbolethLoginInstructions", lang => lang, library => branchcode )%]
11
12
12
<div id="wrapper">
13
<div id="wrapper">
13
    <div id="header-region" class="noprint">
14
    <div id="header-region" class="noprint">
Lines 402-409 Link Here
402
                                    <p>Sorry, your Shibboleth identity does not match a valid library identity. If you have a local login, you may use that below.</p>
403
                                    <p>Sorry, your Shibboleth identity does not match a valid library identity. If you have a local login, you may use that below.</p>
403
                                </div>
404
                                </div>
404
                            [% ELSE %]
405
                            [% ELSE %]
405
                                <h3>Sign in using:</h3>
406
                                [% IF ( ShibbolethLoginInstructions ) %]
406
                                <p>If you have a Shibboleth account, please <a href="[% shibbolethLoginUrl | $raw %]">click here to login</a>.</p>
407
                                    [% PROCESS koha_news_block news => ShibbolethLoginInstructions %]
408
                                [% ELSE %]
409
                                    <h3>Sign in using:</h3>
410
                                    <p>If you have a Shibboleth account, please <a href="[% shibbolethLoginUrl | $raw %]">click here to login</a>.</p>
411
                                [% END %]
407
                            [% END %]
412
                            [% END %]
408
                        </div>
413
                        </div>
409
                    [% END %]
414
                    [% END %]
410
- 

Return to bug 27318