]> git.koha-community.org Git - koha.git/commit
Bug 10309: (follow-up) Update for Bug 10856, improve shelf browser
authorOwen Leonard <oleonard@myacpl.org>
Mon, 7 Oct 2013 18:45:06 +0000 (14:45 -0400)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 14 Oct 2013 23:13:47 +0000 (23:13 +0000)
commitb0793ec34c7b4665b04d80694709869e2e197727
treebc6ba97f7a00b96f010cd4178aecdeb7cb6993cd
parent65e58f30b1e239f1c06a98a140ce657d4f269de6
Bug 10309: (follow-up) Update for Bug 10856, improve shelf browser

This patch updates this theme with the changes made in Bug 10856.
Because of the way JavaScript is loaded in the new theme, the JS in the
shelfbrowser include had to be moved to the opac-detail template.

Test plan from that bug:
- On a detail biblio page, click on a "Browse shelf" link.
- Play with the next and previous links.
- Deactivate Javascript (using NoScript for example) and check that you
  get the same behavior (but the page is reloaded).
- Launch the unit tests: prove t/db_dependent/ShelfBrowser.t

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Works well. No errors

Disabled JavaScript on Firefox (about:config, javascript.enable -> false)
Browse shelf works by reloading.
Unit test report success.

Signed-off-by: Galen Charlton <gmc@esilibrary.com>
koha-tmpl/opac-tmpl/bootstrap/css/opac.css
koha-tmpl/opac-tmpl/bootstrap/en/includes/shelfbrowser.inc [new file with mode: 0644]
koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt
koha-tmpl/opac-tmpl/bootstrap/en/modules/svc/shelfbrowser.tt [new file with mode: 0644]
koha-tmpl/opac-tmpl/bootstrap/less/opac.less