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>
This commit is contained in:
Fridolin Somers 2022-09-30 18:53:47 -10:00 committed by Tomas Cohen Arazi
parent 8d9de60582
commit 6acdfd0493
No known key found for this signature in database
GPG Key ID: 0A272EA1B2F3C15F
2 changed files with 8 additions and 2 deletions

View File

@ -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 -->

View File

@ -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 -->