From 30f817c5f6bc716cf57c5000a9396b33a04b5557 Mon Sep 17 00:00:00 2001 From: Jeff Godin Date: Fri, 16 Nov 2012 21:03:48 -0500 Subject: [PATCH] Display alias callout even when no balance Display the alias callout even when the patron has no account balance. We are duplicating content here, and should re-factor in the future. Signed-off-by: Jeff Godin --- templates_tadlskin/opac/parts/myopac/main_base.tt2 | 27 ++++++++++++++-------- 1 file changed, 18 insertions(+), 9 deletions(-) diff --git a/templates_tadlskin/opac/parts/myopac/main_base.tt2 b/templates_tadlskin/opac/parts/myopac/main_base.tt2 index 65d3932a43..84cd6c655f 100644 --- a/templates_tadlskin/opac/parts/myopac/main_base.tt2 +++ b/templates_tadlskin/opac/parts/myopac/main_base.tt2 @@ -13,7 +13,16 @@ [% IF myopac_main_page == "payment_form" OR ( !ctx.fines.circulation.size AND !ctx.fines.grocery.size ) %] -
+
+
+ [% IF ctx.user.alias %] +

Your holdshelf alias is currently set to: "[% ctx.user.alias %]".

+ [% ELSE %] +

You do not currently have a holdshelf alias set.

+ [% END %] +

change - what's an alias?

+
+
[% ELSE %]
@@ -45,14 +54,14 @@ type="submit" title="[% l('Pay Fines') %]" alt="[% l('Pay Fines') %]" value="[% l('Pay Fines') %]" class="pos-rel-top-5 opac-button" /> [% END %] -
- [% IF ctx.user.alias %] -

Your holdshelf alias is currently set to: "[% ctx.user.alias %]".

- [% ELSE %] -

You do not currently have a holdshelf alias set.

- [% END %] -

change - what's an alias?

-
+
+ [% IF ctx.user.alias %] +

Your holdshelf alias is currently set to: "[% ctx.user.alias %]".

+ [% ELSE %] +

You do not currently have a holdshelf alias set.

+ [% END %] +

change - what's an alias?

+
[% END %] -- 2.11.0