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 1428-1439 Link Here
1428
    </div> <!-- /.modal-dialog -->
1428
    </div> <!-- /.modal-dialog -->
1429
</div> <!-- /.modal -->
1429
</div> <!-- /.modal -->
1430
1430
1431
[% IF Koha.Preference('OpacCatalogConcerns') %]
1431
[% IF Koha.Preference('OpacCatalogConcerns') && loggedinusername %]
1432
    [% INCLUDE 'modals/catalog_concern.inc' %]
1432
    [% INCLUDE 'modals/catalog_concern.inc' %]
1433
[% END %]
1433
[% END %]
1434
1434
1435
[% BLOCK jsinclude %]
1435
[% BLOCK jsinclude %]
1436
    [% IF Koha.Preference('OpacCatalogConcerns') %]
1436
    [% IF Koha.Preference('OpacCatalogConcerns') && loggedinusername %]
1437
        [% Asset.js("js/modals/catalog_concern.js") | $raw %]
1437
        [% Asset.js("js/modals/catalog_concern.js") | $raw %]
1438
    [% END %]
1438
    [% END %]
1439
    [% INCLUDE 'datatables.inc' %]
1439
    [% INCLUDE 'datatables.inc' %]
1440
- 

Return to bug 31028