Bug 38979: Correct instances of "cardnumber" to "card number"
The patron list detail page template has several instances of
"cardnumber" which should be corrected to "card number."
To test, apply the patch and go to Tools -> Patron lists.
- Create a patron list if necessary.
- When viewing the patron list, click "Add multiple patrons."
- Under "Choose type of IDs to enter," you should see "Card numbers".
- Add some patrons to the list.
- Try to add one or more of the same patrons to the list using the "Add
multiple patrons" link..
- You should see a warning message, "Warning, the following card
numbers..."
- The table showing the duplicate card numbers should have the heading
"Card numbers already in list".
- Use the "Add multiple patrons" link to add card numbers which do not
exist.
- You should see a warning message, "Warning, the following card
numbers..."
- The table showing the unknown card numbers should have the heading
"Card numbers not found".
Sponsored-by: Athens County Public Libraries
Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
This commit is contained in:
parent
0d59a3db8d
commit
3f40061b65
|
|
@ -57,14 +57,14 @@
|
|||
[% IF id_column == 'borrowernumbers' %]
|
||||
<div class="alert alert-warning"><p>Warning, the following borrowernumbers were not found:</p></div>
|
||||
[% ELSE %]
|
||||
<div class="alert alert-warning"><p>Warning, the following cardnumbers were not found:</p></div>
|
||||
<div class="alert alert-warning"><p>Warning, the following card numbers were not found:</p></div>
|
||||
[% END %]
|
||||
<table style="margin:auto;">
|
||||
<thead>
|
||||
[% IF id_column == 'borrowernumbers' %]
|
||||
<tr><th>Borrowernumbers not found</th></tr>
|
||||
[% ELSE %]
|
||||
<tr><th>Cardnumbers not found</th></tr>
|
||||
<tr><th>Card numbers not found</th></tr>
|
||||
[% END %]
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -79,14 +79,14 @@
|
|||
[% IF id_column == 'borrowernumbers' %]
|
||||
<div class="alert alert-warning"><p>Warning, the following borrowernumbers were already in this list:</p></div>
|
||||
[% ELSE %]
|
||||
<div class="alert alert-warning"><p>Warning, the following cardnumbers were already in this list:</p></div>
|
||||
<div class="alert alert-warning"><p>Warning, the following card numbers were already in this list:</p></div>
|
||||
[% END %]
|
||||
<table style="margin:auto;">
|
||||
<thead>
|
||||
[% IF id_column == 'borrowernumbers' %]
|
||||
<tr><th>Borrowernumbers already in list</th></tr>
|
||||
[% ELSE %]
|
||||
<tr><th>Cardnumbers already in list</th></tr>
|
||||
<tr><th>Card numbers already in list</th></tr>
|
||||
[% END %]
|
||||
</thead>
|
||||
<tbody>
|
||||
|
|
@ -123,7 +123,7 @@
|
|||
<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>
|
||||
<span class="add_by_cardnumbers">Card numbers</span>
|
||||
</label>
|
||||
<label class="id_choice" for="add_by_borrowernumbers">
|
||||
<input id="add_by_borrowernumbers" type="radio" name="id_column" value="borrowernumbers" />
|
||||
|
|
|
|||
Loading…
Reference in New Issue