Bug 26478: Display issue with buttons on the self checkout screens
This patch adds missing Bootstrap classes to a few buttons on the self checkout page. Without the classes the buttons are not styled correctly. To test, apply the patch and open the self checkout page for a patron with multiple checkouts, some renewable and some non-renewable. In the table of the user's checkouts the "Renew item" button should be styled as a green button. The "Check in item" button should be styled as a blue button. Try to check out an item which cannot be circulated. On the page warning you "Item cannot be checked out," the "Return to account summary" button should be styled as a blue button. Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
parent
5baffbee31
commit
e8522d8231
1 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
[% USE raw %]
|
||||
[% USE raw %]
|
||||
[% USE Asset %]
|
||||
[% USE Koha %]
|
||||
[% USE KohaDates %]
|
||||
|
@ -102,7 +102,7 @@
|
|||
<input type="hidden" name="patronid" value="[% patronid | html %]" />
|
||||
<input type="hidden" name="barcode" value="[% barcode | html %]" />
|
||||
<input type="hidden" name="newissues" value="[% newissues | html %]" />
|
||||
<input type="submit" name= "confirm" value="Return to account summary" class="btn back focus" />
|
||||
<input type="submit" name= "confirm" value="Return to account summary" class="btn btn-info back focus" />
|
||||
</form>
|
||||
</div> <!-- / .alert -->
|
||||
[% END # / IF ( impossible %]
|
||||
|
@ -330,9 +330,9 @@
|
|||
<input type="hidden" name="op" value="renew" />
|
||||
<input type="hidden" name="confirmed" value="1" />
|
||||
[% UNLESS ( ISSUE.renew ) %]
|
||||
<input type="submit" value="Renew item" name="confirm " class="btn renew" />
|
||||
<input type="submit" value="Renew item" name="confirm " class="btn btn-primary btn-sm renew" />
|
||||
[% ELSE %]
|
||||
<input type="submit" value="Renew item" class="btn renew" />
|
||||
<input type="submit" value="Renew item" class="btn btn-primary btn-sm renew" />
|
||||
[% END %]
|
||||
[% ELSE %]
|
||||
[% IF ISSUE.renew_error == 'auto_renew' OR ISSUE.renew_error == 'auto_too_soon' %]
|
||||
|
@ -343,7 +343,7 @@
|
|||
<span>No renewals allowed</span>
|
||||
[% END %]
|
||||
[% IF Koha.Preference('SCOAllowCheckin') %]
|
||||
<input type="submit" value="Check in item" name="confirm" class="btn return" />
|
||||
<input type="submit" value="Check in item" name="confirm" class="btn btn-info btn-sm return" />
|
||||
<input type="hidden" name="op" value="returnbook" />
|
||||
<input type="hidden" name="confirmed" value="" />
|
||||
[% END %]
|
||||
|
|
Loading…
Reference in a new issue