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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-detail-sidebar.inc (-1 / +1 lines)
Lines 42-48 Link Here
42
        <li><a class="suggest_for_purchase btn btn-link btn-lg" href="/cgi-bin/koha/opac-suggestions.pl?op=add&biblionumber=[% biblio.biblionumber | url %]"><i class="fa fa-fw fa-gift" aria-hidden="true"></i> Suggest for purchase</a></li>
42
        <li><a class="suggest_for_purchase btn btn-link btn-lg" href="/cgi-bin/koha/opac-suggestions.pl?op=add&biblionumber=[% biblio.biblionumber | url %]"><i class="fa fa-fw fa-gift" aria-hidden="true"></i> Suggest for purchase</a></li>
43
    [% END %]
43
    [% END %]
44
44
45
    [% IF Koha.Preference('OpacCatalogConcerns') %]
45
    [% IF Koha.Preference('OpacCatalogConcerns') && loggedinusername %]
46
        <li><a class="report_a_concern btn btn-link btn-lg" href="#" data-toggle="modal" data-target="#addConcernModal"><i class="fa fa-fw fa-warning" aria-hidden="true"></i> Report a concern</a></li>
46
        <li><a class="report_a_concern btn btn-link btn-lg" href="#" data-toggle="modal" data-target="#addConcernModal"><i class="fa fa-fw fa-warning" aria-hidden="true"></i> Report a concern</a></li>
47
    [% END %]
47
    [% END %]
48
48
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-3 / +2 lines)
Lines 1434-1445 Link Here
1434
    </div> <!-- /.modal-dialog -->
1434
    </div> <!-- /.modal-dialog -->
1435
</div> <!-- /.modal -->
1435
</div> <!-- /.modal -->
1436
1436
1437
[% IF Koha.Preference('OpacCatalogConcerns') %]
1437
[% IF Koha.Preference('OpacCatalogConcerns') && loggedinusername %]
1438
    [% INCLUDE 'modals/catalog_concern.inc' %]
1438
    [% INCLUDE 'modals/catalog_concern.inc' %]
1439
[% END %]
1439
[% END %]
1440
1440
1441
[% BLOCK jsinclude %]
1441
[% BLOCK jsinclude %]
1442
    [% IF Koha.Preference('OpacCatalogConcerns') %]
1442
    [% IF Koha.Preference('OpacCatalogConcerns') && loggedinusername %]
1443
        [% Asset.js("js/modals/catalog_concern.js") | $raw %]
1443
        [% Asset.js("js/modals/catalog_concern.js") | $raw %]
1444
    [% END %]
1444
    [% END %]
1445
    [% INCLUDE 'datatables.inc' %]
1445
    [% INCLUDE 'datatables.inc' %]
1446
- 

Return to bug 31028