From 53bf2ca2d02f9804393c521dbe8bdf59807f586a Mon Sep 17 00:00:00 2001 From: Dan Scott Date: Sun, 27 Oct 2013 13:24:41 -0400 Subject: [PATCH] More granular seller property Rather than wrapping everything in the table cell as the seller, focus on the and give it an explicit Library typeof attribute; then we can offer up the name of the library as the name attribute, should the crawler be too lazy to follow the link. Signed-off-by: Dan Scott --- Open-ILS/src/templates/opac/parts/record/copy_table.tt2 | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 index 5678da1e78..736ee0673f 100644 --- a/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates/opac/parts/record/copy_table.tt2 @@ -93,7 +93,7 @@ END; # FOREACH bib [%- IF serial_holdings %] [%- copy_info.holding_label | html; -%] - [%- ELSE %] + [%- ELSE %] [%- org_name = ctx.get_aou(copy_info.circ_lib).name; org_sname = ctx.get_aou(copy_info.circ_lib).shortname; @@ -101,8 +101,8 @@ END; # FOREACH bib UNLESS lib_url; lib_url = mkurl(ctx.opac_root _ '/library/' _ ctx.get_aou(copy_info.circ_lib).shortname, {}, 1); END; - IF lib_url; ''; END; - org_name | html; + IF lib_url; ''; END; + ''; org_name | html; ''; IF lib_url; ''; END; -%] -- 2.11.0