Browse Source

Bug 28032: Button corrections in point of sale pages

This patch corrects some markup inconsistencies in some templates
related to point of sale:

- Point of sale -> Library details. The "btn-xs" class has been added to
  "Record cashup" and "Cashup all" buttons.
- Administration -> Debit types and Administration -> Credit types:
  - Font Awesome icons are removed from the "save" and "cancel" controls
    in order to keep them consistent with other templates.

Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
21.05.x
Owen Leonard 2 years ago
committed by Jonathan Druart
parent
commit
d156d5a9fe
  1. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt
  2. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt
  3. 4
      koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt

4
koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt

@ -122,8 +122,8 @@
</fieldset>
<fieldset class="action">
<button id="save_credit_type" class="btn btn-default"><i class="fa fa-save"></i> Save</button>
<a class="cancel btn-link" href="/cgi-bin/koha/admin/credit_types.pl"><i class="fa fa-times"></i> Cancel</a>
<button id="save_credit_type" class="btn btn-default">Save</button>
<a class="cancel" href="/cgi-bin/koha/admin/credit_types.pl">Cancel</a>
</fieldset>
</form>
[% END %]

4
koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt

@ -116,8 +116,8 @@
</fieldset>
<fieldset class="action">
<button id="save_debit_type" class="btn btn-default"><i class="fa fa-save"></i> Save</button>
<a class="cancel btn-link" href="/cgi-bin/koha/admin/debit_types.pl"><i class="fa fa-times"></i> Cancel</a>
<button id="save_debit_type" class="btn btn-default">Save</button>
<a class="cancel" href="/cgi-bin/koha/admin/debit_types.pl">Cancel</a>
</fieldset>
</form>
[% END %]

4
koha-tmpl/intranet-tmpl/prog/en/modules/pos/registers.tt

@ -106,7 +106,7 @@
</td>
[% IF CAN_user_cash_management_cashup %]
<td>
<button type="button" class="cashup_individual btn btn-default" data-toggle="modal" data-target="#confirmCashupModal" data-register="[% register.description | html %]" data-bankable="[% rbankable | $Price %]" data-float="[% register.starting_float | $Price %]" data-registerid="[% register.id | html %]"><i class="fa fa-money"></i> Record cashup</button>
<button type="button" class="cashup_individual btn btn-xs btn-default" data-toggle="modal" data-target="#confirmCashupModal" data-register="[% register.description | html %]" data-bankable="[% rbankable | $Price %]" data-float="[% register.starting_float | $Price %]" data-registerid="[% register.id | html %]"><i class="fa fa-money"></i> Record cashup</button>
</td>
[% END %]
</tr>
@ -120,7 +120,7 @@
<td>[% dtotal | $Price %] ([% cdtotal | $Price %])</td>
[% IF CAN_user_cash_management_cashup %]
<td>
<button type="button" class="cashup_all btn btn-default" data-toggle="modal" data-target="#confirmCashupAllModal"><i class="fa fa-money"></i> Cashup all</button>
<button type="button" class="cashup_all btn btn-xs btn-default" data-toggle="modal" data-target="#confirmCashupAllModal"><i class="fa fa-money"></i> Cashup all</button>
</td>
[% END %]
</tr>

Loading…
Cancel
Save