Bug 21695: Clean up access files template
authorOwen Leonard <oleonard@myacpl.org>
Fri, 26 Oct 2018 18:36:59 +0000 (18:36 +0000)
committerNick Clemens <nick@bywatersolutions.com>
Wed, 26 Dec 2018 20:47:04 +0000 (20:47 +0000)
commitd9ca9f699bdf1718e3923c0cbc6b11c67512abc1
tree08cb4b7db7b97232a0c03d304fe7f0d60206769a
parentd153e728bb8fa677153281b9bdf8325e76358b4b
Bug 21695: Clean up access files template

This patch modifies the access files template to help
compliance with several coding guidelines:

- Bootstrap grid
- Improve DataTables configuration
- Move date formatting from the script to the template
- Markup corrections

To test you must modify koha-conf.xml to contain something like the
following:

<access_dirs>
    <access_dir>/tmp/koha-public</access_dir>
</access_dirs>

Make sure the directory exists and contains multiple files.

 - Go to Tools -> Access files
 - Confirm that the page looks correct and the layout adjusts at various
   browser widths.
 - Confirm that DataTables functionality works correctly, including
   correct sorting by date.

Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
Signed-off-by: Josef Moravec <josef.moravec@gmail.com>
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
koha-tmpl/intranet-tmpl/prog/en/modules/tools/access_files.tt
tools/access_files.pl