]> git.evergreen-ils.org Git - Evergreen.git/commit
TPAC: Improve display of holds/copy counts on record details
authorDan Scott <dan@coffeecode.net>
Wed, 21 Dec 2011 06:06:06 +0000 (01:06 -0500)
committerThomas Berezansky <tsbere@mvlc.org>
Wed, 21 Dec 2011 20:17:23 +0000 (15:17 -0500)
commitf286433d9fb2039e7adb174caeb2ce07bbd090ae
tree13ea6c3dea335783a84bebd813b251c6b3f4dacc
parent91a4256e9f2d91f2b93c9348f7c7877af4267627
TPAC: Improve display of holds/copy counts on record details

Based on some suggestions from Thomas Berezansky in LP 906168:

  * Change the "Copies" header to "Available copies"
  * Simplify the copy language to "# copies at <library>" (we still need
    the noun "copies" but "available" has been factored out)
  * Create a "Holds" header and move the holds information under that
  * Put the "Available copies" and "Holds" into inline-block elements
    so that they can take less vertical space on a wide screen but
    will wrap on a narrow screen.
  * Fix the line spacing between LI elements

In addition, break up the lengthy summary TT2 file into a few smaller
parts. In particular, make a copy_counts.tt2 file as sites are very
likely to customize this to, in some cases, not show the consortial
counts, or in other cases to only show the consortial count and current
search library.

Also fix some horrible CSS issues in the header in which the "Place
hold" and "Add to list" buttons were above the title / image, as well as
remove some of the CSS manipulation to plain H2 elements that gave them
no top margin.

Signed-off-by: Dan Scott <dan@coffeecode.net>
Signed-off-by: Thomas Berezansky <tsbere@mvlc.org>
Open-ILS/src/templates/opac/parts/record/copy_counts.tt2 [new file with mode: 0644]
Open-ILS/src/templates/opac/parts/record/copy_table.tt2 [new file with mode: 0644]
Open-ILS/src/templates/opac/parts/record/summary.tt2
Open-ILS/web/css/skin/default/opac/style.css