Add call-out to current status of patron's alias
authorJeff Godin <jgodin@tadl.org>
Thu, 15 Nov 2012 21:13:44 +0000 (16:13 -0500)
committerJeff Godin <jgodin@tadl.org>
Thu, 15 Nov 2012 21:13:44 +0000 (16:13 -0500)
Add call-out in Account Summary which displays the patron's current
alias, or lack of alias, and includes links to change the alias or
to learn more about what an alias is.

The target of the "what's an alias?" link is likely to change.

Signed-off-by: Jeff Godin <jgodin@tadl.org>
templates_tadlskin/opac/parts/myopac/main_base.tt2

index 9acb4ce..f79787d 100644 (file)
             type="submit" title="[% l('Pay Fines') %]" alt="[% l('Pay Fines') %]"
             value="[% l('Pay Fines') %]" class="pos-rel-top-5 opac-button" /></form>
         [% END %]
+       <div style="padding: 1em; background-color: white;">
+       [% IF ctx.user.alias %]
+               <p>Your holdshelf alias is currently set to: "[% ctx.user.alias %]".</p>
+       [% ELSE %]
+               <p>You do not currently have a holdshelf alias set.</p>
+       [% END %]
+               <p><a href="[% mkurl(ctx.opac_root _ '/myopac/update_alias') %]">change</a> - <a href="http://www.tadl.org/lobbyupdate">what's an alias?</a></p>
+       </div>
     </div>
     [% END %]