evergreen/tadl.git
11 years agoSkip Piwik tracking for staff
Jeff Godin [Mon, 23 Dec 2013 20:51:20 +0000 (15:51 -0500)]
Skip Piwik tracking for staff

This change may be temporary. Since we do not currently have an
approach for incorporating Piwik tracking code in the catalog
interface within the staff client (within the oils:// protocol
wrapper), omit Piwik tracking code when is_staff is true.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
11 years agoChanges to mkurl to avoid "escaping" oils wrapper
Jeff Godin [Mon, 23 Dec 2013 20:49:41 +0000 (15:49 -0500)]
Changes to mkurl to avoid "escaping" oils wrapper

Port changes to mkurl macro to avoid "escaping" the oils wrapper.

Observed symmptom was that we were no longer in "staff mode" in the
staff client's catalog interfaces after clicking certain links.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
11 years agoRemove nbsp div in facets
Jeff Godin [Mon, 23 Dec 2013 20:47:21 +0000 (15:47 -0500)]
Remove nbsp div in facets

Remove the nbsp div in facets -- upstream uses a different approach
now. We may have need to port further facet changes, but this is it
for now.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
11 years agoPort facet count limiting from 2.5 stock
Jeff Godin [Mon, 23 Dec 2013 17:06:02 +0000 (12:06 -0500)]
Port facet count limiting from 2.5 stock

Port changes to facet count limiting (and remove the in-TT sort).

Signed-off-by: Jeff Godin <jgodin@tadl.org>
11 years agoDisplay "MeLCat ID" (patron database id)
Jeff Godin [Mon, 23 Dec 2013 16:20:59 +0000 (11:20 -0500)]
Display "MeLCat ID" (patron database id)

Display "MeLCat ID" (patron database id) to patrons under "My
Account".

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoMinor fix for previous commit
William Rockwood [Fri, 23 Aug 2013 18:09:37 +0000 (14:09 -0400)]
Minor fix for previous commit

- Needed to also uri encode the search string, so searches
  containing '&' would not break.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoAdd a 'search melcat' button
William Rockwood [Fri, 23 Aug 2013 17:51:13 +0000 (13:51 -0400)]
Add a 'search melcat' button

- ninja-fixed a closing h1 tag
- adjusted results_header_inner css
- added button, linking to search, to greybar on results page

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoWrapped active barcode in account prefs with a span
William Rockwood [Thu, 13 Jun 2013 20:48:02 +0000 (16:48 -0400)]
Wrapped active barcode in account prefs with a span

- Used 'active_barcode' class to make barcode more identifiable

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoMerge branch 'rel_2_2' of hades.lib.tadl.org:/opt/git/Evergreen_templates_tadlskin...
William Rockwood [Thu, 13 Jun 2013 17:53:02 +0000 (13:53 -0400)]
Merge branch 'rel_2_2' of hades.lib.tadl.org:/opt/git/Evergreen_templates_tadlskin into rel_2_2

12 years agoWrapped attrs.pubdate in search results with a span.class
William Rockwood [Thu, 13 Jun 2013 17:50:01 +0000 (13:50 -0400)]
Wrapped attrs.pubdate in search results with a span.class

- Used class="record_year" to indicate the "year" (date) field in
  search results.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoAdd Video Games as an item type
Jeff Godin [Tue, 21 May 2013 16:21:33 +0000 (12:21 -0400)]
Add Video Games as an item type

This makes use of a genre facet / search index on "game".

We're abusing the fi:format of mVG- to distinguish between
video games and other m- selections.

Our approach may change in the future. This is a little bit of a
hack.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoAdd onerror bits to various cover images
William Rockwood [Fri, 17 May 2013 19:09:09 +0000 (15:09 -0400)]
Add onerror bits to various cover images

- Added onerror to hide the display of errored images for:
- Holds and hold history
- Items checked out and checkout history
- Place hold

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoCSS changes to make list titles more visible
William Rockwood [Wed, 8 May 2013 16:53:17 +0000 (12:53 -0400)]
CSS changes to make list titles more visible

- added border, background, fixed padding for result-bookbag-heading
- made font larger for result-bookbag-name

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoWrap cover harvesting bits in conditional to exclude staff client
William Rockwood [Tue, 30 Apr 2013 17:22:38 +0000 (13:22 -0400)]
Wrap cover harvesting bits in conditional to exclude staff client

- table.tt2 and base.tt2, added wrappers around cover harvesting bits

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoFixed a typo in xhr request
William Rockwood [Mon, 29 Apr 2013 16:30:20 +0000 (12:30 -0400)]
Fixed a typo in xhr request

- test -> covers

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoMissing cover harvester bits
William Rockwood [Mon, 29 Apr 2013 14:57:08 +0000 (10:57 -0400)]
Missing cover harvester bits

- Added some javascript to base.tt2 in the head
- Added body onload in base.tt2
- Added onerror and onload function to img src in table.tt2

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoAdd format icons to myopac/circs
Jeff Godin [Thu, 4 Apr 2013 21:03:14 +0000 (17:03 -0400)]
Add format icons to myopac/circs

Initial addition of format icons to myopac/circs.

Polishing welcome.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoFall back to leader for format_type and format_icon
Jeff Godin [Thu, 4 Apr 2013 20:57:05 +0000 (16:57 -0400)]
Fall back to leader for format_type and format_icon

Fall back to leader for format_type and format_icon.

Currently, format_type is just the single letter code.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoAdd toggle for kids/full view
William Rockwood [Fri, 22 Mar 2013 21:41:19 +0000 (17:41 -0400)]
Add toggle for kids/full view

- Added button toggle logic to topnav
- Added a class to tadl.css

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoMerge branch 'rel_2_2' of hades.lib.tadl.org:/opt/git/Evergreen_templates_tadlskin...
William Rockwood [Thu, 21 Mar 2013 19:18:43 +0000 (15:18 -0400)]
Merge branch 'rel_2_2' of hades.lib.tadl.org:/opt/git/Evergreen_templates_tadlskin into rel_2_2

12 years agoRe-expose barcode/call in Items Out list
William Rockwood [Thu, 21 Mar 2013 19:18:05 +0000 (15:18 -0400)]
Re-expose barcode/call in Items Out list

- uncommented existing barcode/call columns

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoMake inlib_nav physical_dept-aware
Jeff Godin [Tue, 19 Mar 2013 21:49:00 +0000 (17:49 -0400)]
Make inlib_nav physical_dept-aware

Make the inlib_nav iframe invlude physical_dept-aware. For now, we
use this to let the Kids' Catalog link to the Full Catalog and vice
versa.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoUn-center headings on non-youth homesearch
William Rockwood [Tue, 19 Mar 2013 21:38:33 +0000 (17:38 -0400)]
Un-center headings on non-youth homesearch

- created new class for h1s on homesearch_ys
- applied it.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoRe-order/indent Fiction subcategories
Jeff Godin [Tue, 19 Mar 2013 20:54:30 +0000 (16:54 -0400)]
Re-order/indent Fiction subcategories

Re-order and re-indent Fiction subcategories, and clarify labels for
red/pink/blue paperbacks.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoRemoved Download CSV button from check out history
William Rockwood [Tue, 19 Mar 2013 19:02:11 +0000 (15:02 -0400)]
Removed Download CSV button from check out history

- as above, so below.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoPadding and spacing changes on holds/hold_history
William Rockwood [Tue, 19 Mar 2013 18:09:44 +0000 (14:09 -0400)]
Padding and spacing changes on holds/hold_history

- Re-imagineered the holds and hold history display
- Padding, alignment, spacing.
- Needs more work. A lot more work.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoHolds History changes
William Rockwood [Tue, 19 Mar 2013 17:17:13 +0000 (13:17 -0400)]
Holds History changes

- Redid table with image, removed extranaeous columns

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoAdjust Juvenile shelving location selector
Jeff Godin [Tue, 19 Mar 2013 17:15:30 +0000 (13:15 -0400)]
Adjust Juvenile shelving location selector

Adjust Juvenile shelving location selector when using
physical_dept=ys, add additional shelving locations and groupings.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoMostly my account changes (and youth sliders)
William Rockwood [Tue, 19 Mar 2013 16:05:23 +0000 (12:05 -0400)]
Mostly my account changes (and youth sliders)

- Redid circs and circ history
- Changed sliders on youth homepage
- More minor spacing/padding adjustments

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoMy Account spacing/padding tweaks
William Rockwood [Thu, 14 Mar 2013 20:58:24 +0000 (16:58 -0400)]
My Account spacing/padding tweaks

- For both ys and non-ys

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoMinor tweaks to advanced search (mostly for ys)
William Rockwood [Thu, 14 Mar 2013 19:23:48 +0000 (15:23 -0400)]
Minor tweaks to advanced search (mostly for ys)

- Fixed spacing/padding on a couple things on the advanced
  search page.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoMinor tweak of search pagination
William Rockwood [Thu, 14 Mar 2013 18:32:29 +0000 (14:32 -0400)]
Minor tweak of search pagination

- increased padding on page numbers + next/prev buttons

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoWhimsical additions for youth view, minor improvements to normal view
William Rockwood [Wed, 13 Mar 2013 17:48:00 +0000 (13:48 -0400)]
Whimsical additions for youth view, minor improvements to normal view

- Added various 'ys' classes to customize display in youth dept
- Made "sort by" box bigger in search results view
- improved padding/spacing on numerous elements in both "themes"
- added a couple background images (concentric is currently in use)
- New youth slideshow

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoAdd dept location selector (replaces item type)
Jeff Godin [Tue, 12 Mar 2013 20:10:40 +0000 (16:10 -0400)]
Add dept location selector (replaces item type)

Add optional item_locations_selector (similar to item_type_selector)
which can be used in place of the item_type_selector in areas where
we would like to use shelving locations and not item type as a
search filter.

This is similar to features which exist in future versions of
Evergreen, and may be a simple intermediate step which is later
replaced.

Triggered by the physical_dept 'ys' at the moment, we have a
hardcoded list of groups of shelving locations. If triggered with an
unknown department, the item_locations_selector defaults to a single
empty entry for all locations.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoDisable autosuggest for physical_dept ys
Jeff Godin [Tue, 12 Mar 2013 19:59:30 +0000 (15:59 -0400)]
Disable autosuggest for physical_dept ys

Disable autosuggest for physical_dept ys, since we'll soon be
filtering that by shelving location and autosuggest will be
suggesting content from other shelving locations.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoAdd department-specific iframes for ys dept
Jeff Godin [Mon, 11 Mar 2013 20:10:10 +0000 (16:10 -0400)]
Add department-specific iframes for ys dept

Add department-specific iframes for Youth Services (ys) department
sliders. This relies on a ctx.physical_dept variable being set to
'ys'.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoAdd "make diff" target
Jeff Godin [Mon, 11 Mar 2013 19:17:25 +0000 (15:17 -0400)]
Add "make diff" target

Add "make diff" target, potentially useful for ensuring working dir
and live templates are in sync before starting work.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
12 years agoDisplay Band or VA in search results
William Rockwood [Wed, 12 Dec 2012 16:09:38 +0000 (11:09 -0500)]
Display Band or VA in search results

- Added 110 and 511 to author parser in misc_util.tt2

Signed-off-by: William Rockwood <wrockwood@tadl.org>
12 years agoFix hold pickup lib - backport LP 1034076
Jeff Godin [Mon, 10 Dec 2012 15:48:19 +0000 (10:48 -0500)]
Fix hold pickup lib - backport LP 1034076

Fix the display of unsuitable hold pickup locations in the Edit Hold
interface by backporting Ben Shum's fix for LP 1034076.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoTweak "Refine Search" header
Jeff Godin [Thu, 6 Dec 2012 22:21:15 +0000 (17:21 -0500)]
Tweak "Refine Search" header

In consultation with wrockwood, change to h2 and remove inline bold.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoAdded "refine search" heading to facet sidebar
William Rockwood [Thu, 6 Dec 2012 22:15:29 +0000 (17:15 -0500)]
Added "refine search" heading to facet sidebar

- added an h1 that says 'Refine Search' at the top of the facets
  sidebar. Next step is to improve all of this to look more like
  our website, but getting functionality was the current objective.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoChange facet selection, ordering config
Jeff Godin [Thu, 6 Dec 2012 22:12:48 +0000 (17:12 -0500)]
Change facet selection, ordering config

Change which facets are displayed and in what order.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoMinor pagination tweaks
William Rockwood [Thu, 6 Dec 2012 21:27:26 +0000 (16:27 -0500)]
Minor pagination tweaks

- Removed a redundant "Results" from the template (search results results
  vs search results)
- Adjusted css to make next/prev buttons have same style as the page numbers

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoFaceting theme cleanup
William Rockwood [Thu, 6 Dec 2012 21:14:20 +0000 (16:14 -0500)]
Faceting theme cleanup

- Remove contract/expand link from facet headings
- Make facet heading font larger

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoDisplay "initial" message on update_password
Jeff Godin [Thu, 29 Nov 2012 21:51:52 +0000 (16:51 -0500)]
Display "initial" message on update_password

When directing a patron to the update_password page because we
detected that they were using a four digit PIN as a password,
display a message to that effect.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoRename "Electronic Resources"
Jeff Godin [Thu, 29 Nov 2012 19:19:17 +0000 (14:19 -0500)]
Rename "Electronic Resources"

Until we adjust the properties of some MARC records from external
vendors, simply change the name of "Electronic Resources" to
"Streaming Video and Online Books".

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoHACK: hide some common 043 facets
Jeff Godin [Thu, 29 Nov 2012 18:21:12 +0000 (13:21 -0500)]
HACK: hide some common 043 facets

Hide some common 043 facets, which are otherwise displayed as
unparsed Geographic Area codes.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoComment out facet config -- show all facets
Jeff Godin [Thu, 29 Nov 2012 17:55:01 +0000 (12:55 -0500)]
Comment out facet config -- show all facets

Comment out facet config -- show all facets

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoPreliminary pagination reformatting
William Rockwood [Wed, 28 Nov 2012 21:53:05 +0000 (16:53 -0500)]
Preliminary pagination reformatting

- For now, this is fine. Rather than ripping out the spans and redoing
  the whole paginator as an unordered list (inline) I just added a css
  class to each of the numbers and did the styling there.
  Specifically, .results-paginator[:hover]

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoPassword help text and formatting fixes
William Rockwood [Wed, 28 Nov 2012 21:23:29 +0000 (16:23 -0500)]
Password help text and formatting fixes

- Added password help text to indicate the minimum complexity requirements
  on the password change pages
- Tweaked a couple css classes to make the "change" pages more readable
- Added account-update-alias css to make the "change holdshelf alias" page
  similar to the other "change" pages.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoAbstract and page number tweaks on search results page
William Rockwood [Tue, 27 Nov 2012 21:48:24 +0000 (16:48 -0500)]
Abstract and page number tweaks on search results page

- indented and italicized abstract
- made page numbers larger (could still use more work)

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoDisplay abstract/summary in search results
William Rockwood [Fri, 23 Nov 2012 16:48:54 +0000 (11:48 -0500)]
Display abstract/summary in search results

- Added truncated args.summaries.0 to result table, below call number
- Modified copy counts to be <strong>

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agomade toolbox narrower, made result row table width fixed
William Rockwood [Wed, 21 Nov 2012 21:13:58 +0000 (16:13 -0500)]
made toolbox narrower, made result row table width fixed

- Title says it all, really.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agomove format icon to beginning of title
William Rockwood [Wed, 21 Nov 2012 20:58:50 +0000 (15:58 -0500)]
move format icon to beginning of title

- Commented out existing bit that inserts the image between title
  table and toolbox.
- Added image before title.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoremoved row numbers in search results
William Rockwood [Wed, 21 Nov 2012 20:42:28 +0000 (15:42 -0500)]
removed row numbers in search results

- commented out the <td> containing row numbers

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoFix record detail copy counts
Jeff Godin [Sat, 17 Nov 2012 14:39:56 +0000 (09:39 -0500)]
Fix record detail copy counts

Fix the displayed copy counts on record detail page:

- We are displaying available copies, so say "available", don't say
  "copies".

- Adjust case of "in District"

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoRemove doubled at/in in copy counts
Jeff Godin [Sat, 17 Nov 2012 02:35:40 +0000 (21:35 -0500)]
Remove doubled at/in in copy counts

Remove doubled at/in in copy counts, since we are using them in the
display ou name.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoUse display name for preferred lib also
Jeff Godin [Sat, 17 Nov 2012 02:31:55 +0000 (21:31 -0500)]
Use display name for preferred lib also

Use display name for preferred lib also, not underlying database
name.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoDisplay alias callout even when no balance
Jeff Godin [Sat, 17 Nov 2012 02:03:48 +0000 (21:03 -0500)]
Display alias callout even when no balance

Display the alias callout even when the patron has no account
balance.

We are duplicating content here, and should re-factor in the future.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoOverride OU names with display names
Jeff Godin [Sat, 17 Nov 2012 01:23:14 +0000 (20:23 -0500)]
Override OU names with display names

Use a skin override for display names for libraries, used in copy
availability counts and in copy table.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoChange "what's an alias" link target
Jeff Godin [Sat, 17 Nov 2012 01:18:48 +0000 (20:18 -0500)]
Change "what's an alias" link target

Change "what's an alias" link target

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoRecord details / Related items tweaks, buttonize hold/list links in search results
William Rockwood [Fri, 16 Nov 2012 21:03:57 +0000 (16:03 -0500)]
Record details / Related items tweaks, buttonize hold/list links in search results

- Made record details section be table-based rather than list-based
- tweaked spacing and margins for same
- made hold/list links in search results be buttons
- margins and spacing

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoFinalize copy/hold count summary on record detail page
William Rockwood [Fri, 16 Nov 2012 19:12:24 +0000 (14:12 -0500)]
Finalize copy/hold count summary on record detail page

- Misc padding/spacing concerns, font size increase

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoCopy/hold details in aux_util box, remove barcode from copy table
William Rockwood [Fri, 16 Nov 2012 18:15:06 +0000 (13:15 -0500)]
Copy/hold details in aux_util box, remove barcode from copy table

- Moved copy/hold detail info into aux_util box
- Removed barcode from copy table if !staffclient
- padding/spacing done more consistently

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoRecord Detail hold/list links become buttons
William Rockwood [Thu, 15 Nov 2012 21:17:22 +0000 (16:17 -0500)]
Record Detail hold/list links become buttons

- Modified hold/list links on record detail page to become buttons
  with custom spacing for those buttons and the div that encloses
  them.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoAdd call-out to current status of patron's alias
Jeff Godin [Thu, 15 Nov 2012 21:13:44 +0000 (16:13 -0500)]
Add call-out to current status of patron's alias

Add call-out in Account Summary which displays the patron's current
alias, or lack of alias, and includes links to change the alias or
to learn more about what an alias is.

The target of the "what's an alias?" link is likely to change.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoDisplay current alias in input field
Jeff Godin [Thu, 15 Nov 2012 20:44:45 +0000 (15:44 -0500)]
Display current alias in input field

Display current alias in input field when setting/updating alias.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoRename to My Account, add Register button
Jeff Godin [Tue, 13 Nov 2012 20:55:40 +0000 (15:55 -0500)]
Rename to My Account, add Register button

Rename "Your Account Log In" to "My Account", add "Register" button.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoHACK: Use hardcoded fi:format selector
Jeff Godin [Wed, 3 Oct 2012 18:08:01 +0000 (14:08 -0400)]
HACK: Use hardcoded fi:format selector

This is a hack / proof of concept which may be rendered unnecessary
by changes in post-2.2 releases of Evergreen.

The intent is to allow searching for "E-Books" and "Large Print
Books" by switching to a "format" search filter instead of an
"item_type" filter.

We are hardcoding the choices of format, and generating the <select>
using item_format_selector.tt2, which is a modified version of
coded_value_selector.tt2.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agonon-extended title and added author->added entry verbiage
William Rockwood [Tue, 16 Oct 2012 15:59:55 +0000 (11:59 -0400)]
non-extended title and added author->added entry verbiage

- changed attrs.title_extended to attrs.title
- changed 'Added Author' to 'Added Entry' so it's more consistently correct

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoDisplay iframe widget for AVOD titles
Jeff Godin [Tue, 9 Oct 2012 16:00:35 +0000 (12:00 -0400)]
Display iframe widget for AVOD titles

First attempt at an AVOD widget, displayed when the user is logged
in. For SSL concerns, a custom proxy cgi is used. The proxy cgi
decides if it should display the widget or a static thumbnail.

In theory, this could be used for other content providers as well.

Add a "Resident patrons click here to view content" link for widgets
when not logged in.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoTADL: init ezproxy session if logged in
Jeff Godin [Fri, 12 Oct 2012 19:06:10 +0000 (15:06 -0400)]
TADL: init ezproxy session if logged in

If the user is logged in and there is no ezproxy cookie present,
attempt to begin an ezproxy session using a hidden iframe.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoDo not float rdetail_summary_from_rec div
Jeff Godin [Thu, 4 Oct 2012 19:49:24 +0000 (15:49 -0400)]
Do not float rdetail_summary_from_rec div

Give up on floating rdetail_summary_from_rec left for now.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoEnsure minimum height of rdetail_image_div
Jeff Godin [Thu, 4 Oct 2012 19:23:44 +0000 (15:23 -0400)]
Ensure minimum height of rdetail_image_div

Ensure a min-height on rdetail_image_div in an attempt to prevent
the rdetail_summary_from_rec div from forcing the copy_hold_counts
div off the margins of the page (observed in Chrome on some -- but
not all -- records where there is no cover image available).

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoAdd summary from MARC to record display
Jeff Godin [Thu, 4 Oct 2012 18:28:44 +0000 (14:28 -0400)]
Add summary from MARC to record display

Summaries from 520$a fields in the MARC are already being extracted.
Let's display them.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoBe less strict when matching AVOD URLs
Jeff Godin [Wed, 3 Oct 2012 18:19:22 +0000 (14:19 -0400)]
Be less strict when matching AVOD URLs

Some of our early AVOD records have two EZproxy prefixes. This
works, but the URLs look different.

Rely on the previous "is this going through EZproxy?" check, then
look for an AVOD url contained within.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoAdd jacket images for Access Video on Demand
Jeff Godin [Wed, 3 Oct 2012 18:05:03 +0000 (14:05 -0400)]
Add jacket images for Access Video on Demand

For Access Video on Demand (AVOD) records, supply a cover image
override which is then used in the record and search results
displays.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoTrack staff client as its own Piwik site id
Jeff Godin [Fri, 14 Sep 2012 15:55:49 +0000 (11:55 -0400)]
Track staff client as its own Piwik site id

When Piwik tracking is running within the staff client, track usage
as its own site id, distinct from the catalog running in a standard
web browser.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoAdjust Piwik site id for TADL production
Jeff Godin [Fri, 14 Sep 2012 14:46:13 +0000 (10:46 -0400)]
Adjust Piwik site id for TADL production

Move from a test Piwik site id to the one which we will use for TADL
production. We might make this a conditional somewhere in the
future.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoChange to https for Piwik fallback img tag
Jeff Godin [Fri, 14 Sep 2012 14:43:27 +0000 (10:43 -0400)]
Change to https for Piwik fallback img tag

Change Piwik fallback <noscript> img tag to use https.

Avoids mixed-content warning when page is requested via https with
javascript disabled.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agopiwik tracking code
William Rockwood [Thu, 13 Sep 2012 21:09:59 +0000 (17:09 -0400)]
piwik tracking code

- Added tracking code to footer.tt2

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agolist search scope change
William Rockwood [Fri, 7 Sep 2012 14:45:56 +0000 (10:45 -0400)]
list search scope change

- Changed the 'search only within the chosen list' option to always
  be unchecked by default when viewing a list.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agobookbags are lists
William Rockwood [Wed, 15 Aug 2012 18:54:33 +0000 (14:54 -0400)]
bookbags are lists

- Replace most occurrences of 'bookbag' with 'list'
- changed 'html' button to 'View' for each list item

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoChange movies to video on homepage
William Rockwood [Tue, 14 Aug 2012 19:00:58 +0000 (15:00 -0400)]
Change movies to video on homepage

- Changed 'Movies' to 'Video' on the homesearch.tt2 page

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoHard-code electronic resource link text instead of using 856$y
William Rockwood [Tue, 14 Aug 2012 18:57:03 +0000 (14:57 -0400)]
Hard-code electronic resource link text instead of using 856$y

- set the link to be 'Connect to this resource online' instead of
  using whatever is in the 856$y. There are better ways to do this,
  but this works for now. (A future revision could be conditional,
  only mangling the link text for types of records/resources we
  specify.)

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years ago- Remove pending addresses column from myopac prefs page
William Rockwood [Tue, 14 Aug 2012 18:41:12 +0000 (14:41 -0400)]
- Remove pending addresses column from myopac prefs page

- removed the whole <td> chunk containing 'Pending Addresses'

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoRemove print and email options in record detail
William Rockwood [Tue, 14 Aug 2012 18:38:39 +0000 (14:38 -0400)]
Remove print and email options in record detail

- Removed clipboard image, print and email links from record detail
  (summary) page.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agorearrange record details / related items to be one line
William Rockwood [Tue, 14 Aug 2012 18:35:57 +0000 (14:35 -0400)]
rearrange record details / related items to be one line

- Added divs around the record details and related items bits, gave
  them 'float-left' and 'padding-ten' classes.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoHACK: hide OU 1 in org selector, copy counts
Jeff Godin [Tue, 14 Aug 2012 16:38:27 +0000 (12:38 -0400)]
HACK: hide OU 1 in org selector, copy counts

TADL hack to hide top of org unit tree from the org selector, hide top of tree copy counts from search results and record page.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoAdd onerror handler to hide broken jacket images
Jeff Godin [Tue, 14 Aug 2012 16:35:25 +0000 (12:35 -0400)]
Add onerror handler to hide broken jacket images

Use an onerror handler to hide broken jacket images, for those cases
where we receive a 404 instead of a 1x1 placeholder.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoInclude jacket image even if we lack an ISBN/UPC
Jeff Godin [Tue, 31 Jul 2012 19:30:07 +0000 (15:30 -0400)]
Include jacket image even if we lack an ISBN/UPC

Conditional output of the jacket image <img> tag breaks local added
content overrides by record ID. Make the inclusion of the jacket
image unconditional.  We may next want to include onerror handlers
to hide the element if it 404s.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoOverride item_type coded values in selector
Jeff Godin [Tue, 31 Jul 2012 13:48:15 +0000 (09:48 -0400)]
Override item_type coded values in selector

Until such time as we have some of the newer features like opac
visible names and opac visibility toggles for coded values, locally
override item_type values in the skin template.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agofix update_alias template
William Rockwood [Mon, 30 Jul 2012 17:08:00 +0000 (13:08 -0400)]
fix update_alias template

- Pulled update_alias.tt2 out of the base template and added the
  closing /div and set the class of the submit button to opac-button

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agofix "pay fines online" button
William Rockwood [Mon, 30 Jul 2012 17:01:13 +0000 (13:01 -0400)]
fix "pay fines online" button

- "Pay fines online" button was a span and an input. Changed this
  to just be an input with class="opac-button".

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agomodified password hint text
William Rockwood [Mon, 30 Jul 2012 14:30:30 +0000 (10:30 -0400)]
modified password hint text

- We don't use the last 4 digits of phone number as default
  password, so we needed to change this text.

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agodon't use description on 856 links
William Rockwood [Thu, 26 Jul 2012 15:35:41 +0000 (11:35 -0400)]
don't use description on 856 links

- changed context variable to static text

Signed-off-by: William Rockwood <wrockwood@tadl.org>
13 years agoAdd buttons.css. Was not previously in git.
Jeff Godin [Thu, 26 Jul 2012 09:09:08 +0000 (05:09 -0400)]
Add buttons.css. Was not previously in git.

buttons.css is imported by tadl.css and was found to be missing from
revision control.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoChange colors on AC tabs, hide extra junk in AC
Jeff Godin [Thu, 26 Jul 2012 09:07:08 +0000 (05:07 -0400)]
Change colors on AC tabs, hide extra junk in AC

Change colors on the AC tabs from green to blue, to match the rest
of the skin.

Hide some extra tables/titles in actual AC content.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoExpand main added content expandy, remove awards
Jeff Godin [Thu, 26 Jul 2012 08:49:10 +0000 (04:49 -0400)]
Expand main added content expandy, remove awards

- Expand main added content tab/expandy by default
- Remove "awards" expandy

Signed-off-by: Jeff Godin <jgodin@tadl.org>
13 years agoBackport of extras.tt2 with added content
Jeff Godin [Thu, 26 Jul 2012 08:11:03 +0000 (04:11 -0400)]
Backport of extras.tt2 with added content

Backport of extras.tt2 from master for added content in TPAC

Signed-off-by: Jeff Godin <jgodin@tadl.org>