Bugzilla – Attachment 164012 Details for
Bug 36440
Add edit buttons for patron flags in attention box
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 36440: Add edit buttons for patron flags in attention box
Bug-36440-Add-edit-buttons-for-patron-flags-in-att.patch (text/plain), 4.27 KB, created by
David Gustafsson
on 2024-03-27 16:50:20 UTC
(
hide
)
Description:
Bug 36440: Add edit buttons for patron flags in attention box
Filename:
MIME Type:
Creator:
David Gustafsson
Created:
2024-03-27 16:50:20 UTC
Size:
4.27 KB
patch
obsolete
>From f9507d3ff493b82cac489ff357638d03380d8943 Mon Sep 17 00:00:00 2001 >From: Stefan Berndtsson <stefan.berndtsson@gmail.com> >Date: Fri, 3 Nov 2023 10:14:39 +0100 >Subject: [PATCH] Bug 36440: Add edit buttons for patron flags in attention box > >Add edit buttons for patron flags in attention box and show >flag status in detail view > >To test: >1) Go to patron details for a patron with address in > doubt and card lost flags set and verify these are > highlighted under "Library use" and the patron messages > has edit buttons that links to the modfiy patron page. > >Sponsored-by: Gothenburg University >--- > .../prog/en/includes/patron_messages.inc | 4 ++-- > .../prog/en/modules/members/moremember.tt | 20 +++++++++++++++++++ > 2 files changed, 22 insertions(+), 2 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 1a57c097f41..112c3ab3ff0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/patron_messages.inc >@@ -45,13 +45,13 @@ > > [% IF ( patron.gonenoaddress ) %] > <li class="gonenoaddress blocker"> >- <span title="gonenoaddress flag is set in patron record"><span class="circ-hlt">Address:</span> Patron's address flagged as in doubt</span> >+ <span title="gonenoaddress flag is set in patron record"><span class="circ-hlt">Address:</span> Patron's address flagged as in doubt</span> <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber | uri %]&step=3#memberentry_account_flags"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> > </li> > [% END %] > > [% IF ( patron.lost ) %] > <li class="lost blocker"> >- <span title="lost flag is set in patron record"><span class="circ-hlt">Lost: </span> Patron's card is flagged as lost</span> >+ <span title="lost flag is set in patron record"><span class="circ-hlt">Lost: </span> Patron's card is flagged as lost</span> <a class="btn btn-default btn-xs" href="memberentry.pl?op=modify&borrowernumber=[% patron.borrowernumber | uri %]&step=3#memberentry_account_flags"><i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit</a> > </li> > [% END %] > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >index 3938a85e620..a5515b65ee2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/members/moremember.tt >@@ -521,6 +521,26 @@ > [% translated_language | html %] > </li> > [% END %] >+ >+ <li id="patron-flags-gonenoaddress"> >+ [% IF patron.gonenoaddress %] >+ <span class="label error">Address in doubt:</span> >+ <span class="error">Yes</span> >+ [% ELSE %] >+ <span class="label">Address in doubt:</span> >+ <span>No</span> >+ [% END %] >+ </li> >+ >+ <li id="patron-flags-lostcard"> >+ [% IF patron.lost %] >+ <span class="label error">Card lost:</span> >+ <span class="error">Yes</span> >+ [% ELSE %] >+ <span class="label">Card lost:</span> >+ <span>No</span> >+ [% END %] >+ </li> > </ol> > </div> [% # /div.rows %] > </div> [% # /div#patron-library-details %] >-- >2.43.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 36440
:
164010
|
164012
|
164015
|
164017
|
164018
|
166608
|
166609