From: Terran McCanna Date: Mon, 21 Dec 2015 19:55:01 +0000 (-0500) Subject: Fixes to OPAC holds & patron self-registration pages X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=32842b81f02e71b08490c7edc0016f3c2131fa05;p=evergreen%2Fpines.git Fixes to OPAC holds & patron self-registration pages Signed-off-by: Terran McCanna --- diff --git a/Open-ILS/src/templates/opac/myopac/circs.tt2 b/Open-ILS/src/templates/opac/myopac/circs.tt2 index 1579ed6544..e2b54097a3 100644 --- a/Open-ILS/src/templates/opac/myopac/circs.tt2 +++ b/Open-ILS/src/templates/opac/myopac/circs.tt2 @@ -6,6 +6,7 @@

[% l('Current Items Checked Out') %]

+
[% l("Current Items Checked Out") %] @@ -156,12 +157,15 @@ [%- circ.ATTRS.title.substr(0,circ.ATTRS.nonfiling_characters) | html %] [%- circ.ATTRS.title.substr(circ.ATTRS.nonfiling_characters) | html %] [% END %] - [% IF circ.circ.target_copy.call_number.id == -1 %]   /   + + + [% IF circ.circ.target_copy.call_number.id == -1 %] [% circ.circ.target_copy.dummy_author | html %] - [% ELSIF attrs.author %]   /   - [% attrs.author | html %] + [% ELSIF circ.ATTRS.author %] + [% circ.ATTRS.author | html %] [% END %] diff --git a/Open-ILS/src/templates/opac/myopac/holds.tt2 b/Open-ILS/src/templates/opac/myopac/holds.tt2 index e49bc09db5..14bf25c066 100644 --- a/Open-ILS/src/templates/opac/myopac/holds.tt2 +++ b/Open-ILS/src/templates/opac/myopac/holds.tt2 @@ -11,8 +11,7 @@

[% l('My Holds') %]

-
@@ -59,8 +57,6 @@
-

If you require assistance placing a hold or have a question about a hold that you have placed, - please contact your local library.

If you require assistance placing a hold or have a question about a hold that you have placed, please contact your @@ -81,17 +77,16 @@ - + --> @@ -102,10 +97,10 @@ [% IF CGI.param("available") -%] - [% l('Show All Holds') %]   |   - [% l("Showing Holds That Are Ready to Pick Up") %] + [% l('Show all holds') %] | + [% l("Holds that are ready to pick up") %] [% ELSE -%] - [% l("Show all holds") %] | + [% l("All holds") %] | [% l("Show holds that are ready to pick up") %] [% END -%] @@ -118,7 +113,7 @@ class="table_no_border_space"> - + @@ -130,7 +125,6 @@ [% l('Cancel if not filled by') %] [% l('Active?') %] [% l('Status') %] - [% l('Notes') %] [% l('Edit') %] @@ -191,54 +185,35 @@ ahr = hold.hold.hold %] -

+ -
- - - - -
- [% - formats = attrs.all_formats; - IF ahr.hold_type == 'M'; - # only show selected formats for metarecords - formats = []; - FOR ccvm IN hold.metarecord_selected_filters.icons; - NEXT IF ccvm.opac_visible == 'f'; - format = {}; - format.label = ccvm.search_label || ccvm.value; - format.icon = PROCESS get_ccvm_icon ccvm=ccvm; - formats.push(format); - END; - END; - FOR format IN formats - %] - [% format.label | html %] - [% END %]
- - [%- FOREACH pubnote IN ahr.notes; - IF pubnote.pub == 't'; - %] -
- [% pubnote.title | html %] -
- [% pubnote.body | html %] -
- [%- END; END; %] -
+ +
+ [% title = hold.ATTRS.title; + IF ahr.hold_type == 'P'; + title = l('[_1] ([_2])', title, hold.hold.part.label); + END; %] + + + [%- title.substr(0,hold.ATTRS.nonfiling_characters) | html %] + [%- title.substr(hold.ATTRS.nonfiling_characters) | html %]
+ + [%- FOREACH pubnote IN ahr.notes; + IF pubnote.pub == 't'; + %] +
+ [% pubnote.title | html %] +
+ [% pubnote.body | html %] +
+ [%- END; END; %]
- + - -
- [% PROCESS get_hold_status hold=hold; %] -
- - -
- [% l(ahr.frozen == 'f' ? 'Yes' : 'No') %] -
- - - -
+ + [% ctx.get_aou(ahr.pickup_lib).name | html %] + + [% IF ahr.frozen == 't' AND ahr.thaw_date; date.format(ctx.parse_datetime(ahr.thaw_date), DATE_FORMAT); END %] -
- -
+ [% IF ahr.expire_time; date.format(ctx.parse_datetime(ahr.expire_time), DATE_FORMAT); END %] -
- -
- [% ctx.get_aou(ahr.pickup_lib).name | html %] -
+ + [% l(ahr.frozen == 'f' ? 'Active' : 'Suspended') %] - - - [% END %] diff --git a/Open-ILS/src/templates/opac/register.tt2 b/Open-ILS/src/templates/opac/register.tt2 index d211fcac61..44ef589de6 100644 --- a/Open-ILS/src/templates/opac/register.tt2 +++ b/Open-ILS/src/templates/opac/register.tt2 @@ -48,7 +48,7 @@ END; %]

[% l('Account Registration') %]

-
+

[% l('Apply for a PINES Library Card')%]

@@ -114,8 +114,6 @@ END;
- - (Find the library system and branch closest to you.)
[% IF ctx.register.invalid.bad_home_ou %] [% l('Please select a valid library') %]