Bugzilla – Attachment 110972 Details for
Bug 26534
Add a Font Awesome icon to help identify staff patrons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 26534: Use IF ELSE directly on h5 opening tag
Bug-26534-Use-IF-ELSE-directly-on-h5-opening-tag.patch (text/plain), 2.04 KB, created by
Fridolin Somers
on 2020-09-30 09:02:22 UTC
(
hide
)
Description:
Bug 26534: Use IF ELSE directly on h5 opening tag
Filename:
MIME Type:
Creator:
Fridolin Somers
Created:
2020-09-30 09:02:22 UTC
Size:
2.04 KB
patch
obsolete
>From f99b65b56bb06fd385a2bb33a67d84cb7ef63972 Mon Sep 17 00:00:00 2001 >From: Fridolin Somers <fridolin.somers@biblibre.com> >Date: Wed, 30 Sep 2020 11:00:58 +0200 >Subject: [PATCH] Bug 26534: Use IF ELSE directly on h5 opening tag > >--- > .../prog/en/includes/circ-menu.inc | 22 ++++++++----------- > 1 file changed, 9 insertions(+), 13 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >index e57e46c4f2..e7f1e7b2ca 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/circ-menu.inc >@@ -8,12 +8,21 @@ > > [% IF ( patronimages ) %] > <h5 class="text-center"> >+[% ELSE %] >+ <h5> > [% IF ( patron_is_staff ) %] > <i class="fa fa-shield fa-fw" title="Staff patron"></i> > [% END %] > [% INCLUDE 'patron-title.inc' %] > </h5> > >+[% IF Koha.Preference('showLastPatron') %] >+ <input type="hidden" id="hiddenborrowernumber" value="[% patron.borrowernumber | html %]"> >+ <input type="hidden" id="hiddenborrowername" value="[% patron.surname | html %] [% patron.firstname | html %]"> >+ <input type="hidden" id="hiddenborrowercard" value="[% patron.cardnumber | html %]"> >+[% END %] >+ >+[% IF ( patronimages ) %] > <div> > <div class="patronimage-container"> > [% IF ( patron.image ) %] >@@ -29,19 +38,6 @@ > [% END %] > </div> > </div> >-[% ELSE %] >- <h5> >- [% IF ( patron_is_staff ) %] >- <i class="fa fa-shield fa-fw" title="Staff patron"></i> >- [% END %] >- [% INCLUDE 'patron-title.inc' %] >- </h5> >-[% END %] >- >-[% IF Koha.Preference('showLastPatron') %] >- <input type="hidden" id="hiddenborrowernumber" value="[% patron.borrowernumber | html %]"> >- <input type="hidden" id="hiddenborrowername" value="[% patron.surname | html %] [% patron.firstname | html %]"> >- <input type="hidden" id="hiddenborrowercard" value="[% patron.cardnumber | html %]"> > [% END %] > > <ul class="patronbriefinfo"> >-- >2.28.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 26534
:
110717
|
110718
|
110738
|
110739
|
110749
|
110750
|
110753
|
110754
|
110960
|
110972
|
110995
|
111185
|
111186
|
111187
|
111188
|
111189
|
111648
|
111649
|
111650
|
111651
|
111652
|
111685