Bugzilla – Attachment 124242 Details for
Bug 16446
Allow librarians to add borrowers to patron lists by borrowernumber
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 16446: (follow-up) Fix translation and adjust radio buttons
Bug-16446-follow-up-Fix-translation-and-adjust-rad.patch (text/plain), 4.67 KB, created by
Nick Clemens (kidclamp)
on 2021-08-30 13:08:54 UTC
(
hide
)
Description:
Bug 16446: (follow-up) Fix translation and adjust radio buttons
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-08-30 13:08:54 UTC
Size:
4.67 KB
patch
obsolete
>From 8269bdec3a5c9aa4a67e3be00313c842e9706d31 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Mon, 30 Aug 2021 13:08:31 +0000 >Subject: [PATCH] Bug 16446: (follow-up) Fix translation and adjust radio > buttons > >--- > .../prog/en/modules/patron_lists/list.tt | 46 +++++++++++++------ > 1 file changed, 31 insertions(+), 15 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >index 9965b297d0..83f8402ed6 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/patron_lists/list.tt >@@ -58,10 +58,18 @@ > <h1>[% list.name | html %]</h1> > > [% IF ( not_found.size > 0 ) %] >- <div class="dialog alert"><p>Warning, the following [% id_column | html %] were not found:</p></div> >+ [% IF id_column == 'borrowernumbers' %] >+ <div class="dialog alert"><p>Warning, the following borrowernumbers were not found:</p></div> >+ [% ELSE %] >+ <div class="dialog alert"><p>Warning, the following cardnumbers were not found:</p></div> >+ [% END %] > <table style="margin:auto;"> > <thead> >- <tr><th>[% id_column | html FILTER ucfirst %] not found</th></tr> >+ [% IF id_column == 'borrowernumbers' %] >+ <tr><th>Borrowernumbers not found</th></tr> >+ [% ELSE %] >+ <tr><th>Cardnumbers not found</th></tr> >+ [% END %] > </thead> > <tbody> > [% FOREACH nf IN not_found %] >@@ -72,10 +80,18 @@ > [% END %] > > [% IF ( existed.size > 0 ) %] >- <div class="dialog alert"><p>Warning, the following [% id_column | html %] were already in this list:</p></div> >+ [% IF id_column == 'borrowernumbers' %] >+ <div class="dialog alert"><p>Warning, the following borrowernumbers were already in this list:</p></div> >+ [% ELSE %] >+ <div class="dialog alert"><p>Warning, the following cardnumbers were already in this list:</p></div> >+ [% END %] > <table style="margin:auto;"> > <thead> >- <tr><th>[% id_column | html FILTER ucfirst %] already in list</th></tr> >+ [% IF id_column == 'borrowernumbers' %] >+ <tr><th>Borrowernumbers already in list</th></tr> >+ [% ELSE %] >+ <tr><th>Cardnumbers already in list</th></tr> >+ [% END %] > </thead> > <tbody> > [% FOREACH ed IN existed %] >@@ -99,23 +115,23 @@ > <li id="add_patrons_by_id"><a href="#"> > <span class="label"> </span> > <i class="fa fa-plus"></i> Add multiple patrons</a></li> >- <li id="patron_ids_line"> >- <fieldset class="rows"> >- <legend>Choose type of ID to enter</legend> >- <span class="radio"> >- <label for "cardnumbers"> >+ <span id="patron_ids_line"> >+ <li><strong>Choose type of IDs to enter:</strong></li> >+ <li class="radio"> >+ <label class="id_choice" for="add_by_cardnumbers"> > <input id="add_by_cardnumbers" type="radio" name="id_column" value="cardnumbers" checked="checked"> > <span class="add_by_cardnumbers">Cardnumbers</span> > </label> >- <label for "borrowernumbers"> >+ <label class="id_choice" for="add_by_borrowernumbers"> > <input id="add_by_borrwernumbers" type="radio" name="id_column" value="borrowernumbers"> > <span class="add_by_borrowernumbers">Borrowernumbers</span> > </label> >- </span> >- </fieldset> >- <label for="patrons_by_id">List (one barcode per line):</label> >- <textarea id="patrons_by_id" name="patrons_by_id" id="" cols="30" rows="10"></textarea> >- </li> >+ </li> >+ <li> >+ <label for="patrons_by_id">List (one ID per line):</label> >+ <textarea id="patrons_by_id" name="patrons_by_id" id="" cols="30" rows="10"></textarea> >+ </li> >+ </span> > </ol> > </fieldset> > <fieldset id="patron_ids_submit" class="action"> >-- >2.20.1
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 16446
:
124177
|
124182
|
124242
|
126623
|
126624