From: Jeff Godin Date: Sat, 17 Nov 2012 02:03:48 +0000 (-0500) Subject: Display alias callout even when no balance X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=30f817c5f6bc716cf57c5000a9396b33a04b5557;p=evergreen%2Ftadl.git 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 --- 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 %]