From d23ef891fa721911574f6df360823ec08f5ba3e2 Mon Sep 17 00:00:00 2001 From: Jason Boyer Date: Thu, 6 Apr 2023 10:46:54 -0400 Subject: [PATCH] LP2015481: Re-align Labels for Circ History Move Call number to the end of the Circ History table to match Items Out and also correct the label order for narrow screen CSS. Signed-off-by: Jason Boyer Signed-off-by: Galen Charlton Signed-off-by: Michele Morgan --- .../opac/myopac/circ_history.tt2 | 36 ++++++++++---------- 1 files changed, 18 insertions(+), 18 deletions(-) diff --git a/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 b/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 index e18bdf5..5944e86 100755 --- a/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 +++ b/Open-ILS/src/templates-bootstrap/opac/myopac/circ_history.tt2 @@ -56,11 +56,11 @@ [% l("Cover") %] [% sort_head("sort_title", l("Title")) %] [% sort_head("author", l("Author")) %] - [% sort_head("callnum", l("Call Number")) %] [% sort_head("checkout", l("Checkout Date")) %] [% sort_head("due", l("Due Date")) %] [% sort_head("returned", l("Date Returned")) %] [% sort_head("barcode", l("Barcode")) %] + [% sort_head("callnum", l("Call Number")) %] @@ -173,23 +173,6 @@ [% END; %] - [%- - cnlist = []; - FOREACH element IN [circ.circ.target_copy.call_number.prefix.label - circ.circ.target_copy.call_number.label - circ.circ.target_copy.call_number.suffix.label]; - IF (element); - cnlist.push(element); - END; - END; - cn = cnlist.join(' '); - %] - [% cn | html %] - [%- IF circ.circ.target_copy.parts.0.label %] -
[% circ.circ.target_copy.parts.0.label | html -%] - [%- END %] - - [% date.format(ctx.parse_datetime(circ.circ.xact_start),DATE_FORMAT); %] @@ -208,6 +191,23 @@ [% END %] [% circ.circ.target_copy.barcode | html %] + + [%- + cnlist = []; + FOREACH element IN [circ.circ.target_copy.call_number.prefix.label + circ.circ.target_copy.call_number.label + circ.circ.target_copy.call_number.suffix.label]; + IF (element); + cnlist.push(element); + END; + END; + cn = cnlist.join(' '); + %] + [% cn | html %] + [%- IF circ.circ.target_copy.parts.0.label %] +
[% circ.circ.target_copy.parts.0.label | html -%] + [%- END %] + [% END %] -- 1.7.2.5