Browse Source

Bug 32006: Add page-section for local use system preferences

To test:
1. Go to the System preferences > Local use
2. Notice there is no page section and the table has much more space on the left than other system preference sections
3. Apply patch
4. Look again, the extra space on the left should be eliminated and the page-section should be added.
5. Use an HTML validator to spot errors.

Note: I elimiated the inline style on the table that set the width to 80%. I don't see why that is needed but if it is we should be using CSS to do so.

Signed-off-by: David Nind <david@davidnind.com>

Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
22.11.x
Lucas Gass 2 years ago
committed by Tomas Cohen Arazi
parent
commit
6f3b4be3d3
Signed by: tomascohen GPG Key ID: 0A272EA1B2F3C15F
  1. 8
      koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt

8
koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt

@ -333,7 +333,8 @@
<table>
[% ELSE %]
<h1>Local use preferences</h1>
<table width="80%" id="sysprefst">
<div class="page-section">
<table id="sysprefst">
<thead><tr>
<th>Preference</th>
<th>Explanation</th>
@ -455,9 +456,10 @@
<td class="actions"><a class="btn btn-default btn-xs" href="[% loo.edit | url %]"><i class="fa fa-pencil"></i> Edit</a> <a class="btn btn-default btn-xs" href="[% loo.delete | url %]"><i class="fa fa-trash"></i> Delete</a></td>
</tr>
[% END %]</tbody>
[% END %]
</tbody>
</table>
[% IF tab == 'local_use' %]</div>[% END %]
[% END %]
</main>

Loading…
Cancel
Save