Browse Source

Bug 31338: (follow-up) add special class and add also to OPAC

In order to easily hide this new text, this patch adds the class "included-see-from-headings-info".

Also uses <div> instead of <p>.

And adds the same feature to OPAC.

Signed-off-by: Barbara Johnson <barbara.johnson@bedfordtx.gov>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
23.05.x
Fridolin Somers 2 years ago
committed by Tomas Cohen Arazi
parent
commit
6acdfd0493
Signed by: tomascohen GPG Key ID: 0A272EA1B2F3C15F
  1. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt
  2. 6
      koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt

4
koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/advsearch.tt

@ -197,10 +197,10 @@
[% END %]
[% END %]
[% IF Koha.Preference('IncludeSeeFromInSearches') %]
<p class="hint">
<div class="hint included-see-from-headings-info">
<i class="fa fa-info-circle" aria-hidden="true"></i>
See from (non-preferred form) headings are included
</p>
</div>
[% END %]
</fieldset>
<!-- /BOOLEAN SEARCH OPTIONS -->

6
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-advsearch.tt

@ -138,6 +138,12 @@
[% ELSE %]
<input type="hidden" name="weight_search" value="1" />
[% END %]
[% IF Koha.Preference('IncludeSeeFromInSearches') %]
<div class="hint included-see-from-headings-info">
<i class="fa fa-info-circle" aria-hidden="true"></i>
See from (non-preferred form) headings are included
</div>
[% END %]
</div> <!-- /.search-terms -->
</fieldset>
</div> <!-- /#booleansearch -->

Loading…
Cancel
Save