Koha/koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline-mf.tt
Jared Camins-Esakov 9db23b8483 Bug 10240: QA follow-up
Address the following issues:
    1/ Address minor qa issues with the templates:
     FAIL    koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline-mf.tt
      FAIL      forbidden patterns
                forbidden pattern: intranet-tmpl should certainly
                replaced with [% interface %] (line 24)
                [etc.]
     OK      tt_valid
     OK      valid_template

    FAIL    koha-tmpl/intranet-tmpl/prog/en/modules/circ/offline.tt
     FAIL      forbidden patterns
               forbidden pattern: intranet-tmpl should certainly
               replaced with [% interface %] (line 509)
               [etc.]
    FAIL      tt_valid
        lines 5, 5
    2/ Run perltidy on new scripts
    3/ download.pl returns data.finished = 1 if number of returned
       data < 5000 (avoids 1 ajax call)
    4/ Replace qq{} around sql queries with q{}

Also, a race condition existed that resulted in pending transactions
only getting deleted from the local database in certain circumstances
(fast connections under Chrome, mostly). This patch fixes that so that
successfully-uploaded transactions are always deleted.

This patch also addresses Jonathan's suggestion:
3/ add a message on check in (currently the input becomes empty but the
   user is not informed).

... and Magnus's suggestion about moving the Synchronize link to the
right on the homepage.

Also, this addresses the further issues Jonathan noted:

- The tab of checkouts always shows "*0* Checkouts"
- If I am not well-educated, I click on the "Check out" link on the
  offline home page, I enter a barcode, click on "Check out" and I get a
  js error (without user message): "TypeError: curpatron is undefined"
  (with chromium I get: Numeric transaction modes are deprecated in
  IDBDatabase.transaction. Use "readonly" or "readwrite").
- There is a "border-right" css rule on the h5.patron-title. It is
  display when there is no patron selected) [really minor!].
- tables are displayed even if there is no data
- The "Clear screen" link (X) points to an old script:
  circ/offline-circulation.pl
- There is a warning when clicking on the "Synchronize" link when the
  user is offline, but not for the "Pending offline circulation actions"
  link.
- Still exists:
> The "Checked in item." message text never disappear (even if I go on the
> offline home page (circ/offline.pl#offline-home)).

Finally, this patch adds a link to the Pending offline operations page
on the synchronize page for easier navigation.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com>
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>

Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>
2013-10-11 01:57:03 +00:00

41 lines
1.4 KiB
Text

CACHE MANIFEST
# [% cookie %]
# Explicitly cached 'master entries'.
CACHE:
/cgi-bin/koha/circ/offline.pl
[% interface %]/lib/bootstrap/bootstrap.min.css
[% interface %]/lib/bootstrap/bootstrap.min.js
[% interface %]/lib/jquery/jquery-ui.css
[% interface %]/lib/jquery/jquery-ui.js
[% interface %]/lib/jquery/jquery.js
[% interface %]/lib/jquery/plugins/jquery.cookie.min.js
[% interface %]/lib/jquery/plugins/jquery.highlight-3.js
[% interface %]/lib/jquery/plugins/jquery.hotkeys.min.js
[% interface %]/lib/jquery/plugins/jquery.indexeddb.js
[% interface %]/lib/jquery/plugins/jquery.validate.min.js
[% themelang %]/css/print.css
[% themelang %]/css/staff-global.css
[% themelang %]/js/basket.js
[% themelang %]/js/offlinecirc.js
[% themelang %]/js/staff-global.js
[% themelang %]/lib/jquery/plugins/jquery-ui-timepicker-addon.js
[% themelang %]/lib/yui/button/button-min.js
[% themelang %]/lib/yui/container/container_core-min.js
[% themelang %]/lib/yui/menu/menu-min.js
[% themelang %]/lib/yui/reset-fonts-grids.css
[% themelang %]/lib/yui/skin.css
[% themelang %]/lib/yui/utilities/utilities.js
[% interface %]/prog/img/cart-small.gif
[% interface %]/prog/img/glyphicons-halflings-koha.png
[% interface %]/prog/img/koha-logo-medium.gif
[% interface %]/prog/img/loading.gif
[% interface %]/prog/sound/beep.ogg
[% interface %]/prog/sound/critical.ogg
# Resources that require the user to be online.
NETWORK:
*
# Resources that can be substituted if the user is offline
FALLBACK: