From b645ea96495ec85053b0f7d169514d11a2af8c98 Mon Sep 17 00:00:00 2001 From: Terran McCanna Date: Wed, 21 Dec 2022 09:24:24 -0500 Subject: [PATCH] PINES - fix opac copy table layout issue Removes excess leftover from a merge, clean up code spacing Signed-off-by: Terran McCanna --- .../opac/parts/record/copy_table.tt2 | 60 +++++++++++----------- 1 file changed, 30 insertions(+), 30 deletions(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 b/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 index fe5f5156fa..39eb4e6fa0 100755 --- a/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/parts/record/copy_table.tt2 @@ -173,38 +173,38 @@ END; # FOREACH bib [% END %] [% callnum | html %] [% IF ctx.get_org_setting(CGI.param('loc') OR ctx.aou_tree.id, 'sms.enable') == 1 %]
[% l('Send SMS Text') %][% END %] + {copy_id => copy_info.id}) %];rec=[%- ctx.bre_id -%]" rel="nofollow" vocab="">[% l('Send SMS Text') %][% END %]
- [% IF copy_info.notes; %] - [% FOREACH note IN copy_info.notes; %] -
[% note.title _ ": " | html %][% note.value | html %]
- [% END %] - [% END %] + [% IF copy_info.notes; %] + [% FOREACH note IN copy_info.notes; %] +
[% note.title _ ": " | html %][% note.value | html %]
+ [% END %] + [% END %] - [% IF copy_info.tags; %] - [% FOREACH tag IN copy_info.tags; %] -
- [% tag.tag_type.label _ ": " | html %] - - [% IF tag.url %] - - [% END %] - [% tag.value | html %] - [% IF tag.url %] - - [% END %] - -
- [% END %] - [% END %] - [% IF copy_info.statcats.size; %] - [% FOREACH statcat IN copy_info.statcats; - IF statcat.stat_cat.opac_visible == 't'; %] -
[% statcat.stat_cat.name %]: [% statcat.value %] - [% END; - END %] - [% END %] - + [% IF copy_info.tags; %] + [% FOREACH tag IN copy_info.tags; %] +
+ [% tag.tag_type.label _ ": " | html %] + + [% IF tag.url %] + + [% END %] + [% tag.value | html %] + [% IF tag.url %] + + [% END %] + +
+ [% END %] + [% END %] + [% IF copy_info.statcats.size; %] + [% FOREACH statcat IN copy_info.statcats; + IF statcat.stat_cat.opac_visible == 't'; %] +
[% statcat.stat_cat.name %]: [% statcat.value %] + [% END; + END %] + [% END %] + [%- IF has_parts == 'true' %] [% copy_info.part_label | html %] [%- END %] -- 2.11.0