From bf19d7e06511f881216fbcccb703f5da78271cd5 Mon Sep 17 00:00:00 2001 From: Lebbeous Fogle-Weekley Date: Wed, 7 Mar 2012 13:11:03 -0500 Subject: [PATCH] "twisties" (is that even the right term? miker says it) for holdins tree Signed-off-by: Lebbeous Fogle-Weekley --- Open-ILS/src/templates/opac/parts/record/issues-db.tt2 | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/record/issues-db.tt2 b/Open-ILS/src/templates/opac/parts/record/issues-db.tt2 index 5bee35acd0..a110b561cc 100644 --- a/Open-ILS/src/templates/opac/parts/record/issues-db.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/issues-db.tt2 @@ -58,11 +58,14 @@ VIEW grouped_holding_tree; }, collapse_clear_params, 'issues' ); - ""; @@ -99,19 +102,22 @@ VIEW holding_summary_tree; ctx.get_aou(item.org_unit).name; "
"; FOREACH summary IN item.holding_summaries; IF summary.holdings; + twisty = '▼ '; link = mkurl( '', {}, ['sid','stype','selimit','sepath','seoffset'], 'issues' ); link_title = l('Collapse'); ELSE; + twisty = '► '; link = mkurl( '', {sid => summary.id, stype => summary.summary_type}, ['selimit','sepath','seoffset'], 'issues' ); link_title = l('Expand'); END; - ''; + ''; twisty; + ''; summary.generated_coverage.join(", "); '
'; IF summary.holdings; -- 2.11.0