Bugzilla – Attachment 166054 Details for
Bug 31097
Patron restriction types should display in staff interface and OPAC
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 31097: Add classes, drop an ELSE, drop <br />
Bug-31097-Add-classes-drop-an-ELSE-drop-br-.patch (text/plain), 2.18 KB, created by
Martin Renvoize (ashimema)
on 2024-05-02 10:42:14 UTC
(
hide
)
Description:
Bug 31097: Add classes, drop an ELSE, drop <br />
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2024-05-02 10:42:14 UTC
Size:
2.18 KB
patch
obsolete
>From b102d96437ff4cd918ba30a4f25fb9b58156c9b4 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Thu, 2 May 2024 11:41:36 +0100 >Subject: [PATCH] Bug 31097: Add classes, drop an ELSE, drop <br /> > >--- > .../prog/en/includes/patron_messages.inc | 12 +++++++----- > 1 file changed, 7 insertions(+), 5 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >index 7df18081238..6be8f9e50e7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >@@ -71,16 +71,18 @@ > Restriction added by overdues process [% debarredcomment.remove('OVERDUES_PROCESS ') | $raw | html_line_break %] > [% ELSE %] > [% FOREACH restriction IN patron.restrictions %] >+ <div class="[% restriction.type.code | lower | html %]_restriction"> >+ <span class="restriction_expiration"> > [% IF restriction.expiration %] > [% restriction.expiration | $KohaDates %] > [% ELSE %] > <strong>Indefinite</strong> > [% END %] >- [% IF restriction.comment %] >- [% restriction.type.display_text | html %]: [% restriction.comment | html_line_break %]<br /> >- [% ELSE %] >- [% restriction.type.display_text | html %]<br /> >- [% END %] >+ </span> >+ <span class="restriction_detail"> >+ [%- restriction.type.display_text | html -%][%- IF restriction.comment -%]: [%- restriction.comment | html -%][%- END -%] >+ </span> >+ </div> > [% END %] > [% END %] > </em><br/> >-- >2.44.0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 31097
:
165059
|
165060
|
165138
|
165139
|
165218
|
165219
|
165220
|
165221
|
166054
|
166055
|
166255
|
166296
|
166428