Display "MeLCat ID" (patron database id)
authorJeff Godin <jgodin@tadl.org>
Mon, 23 Dec 2013 16:20:59 +0000 (11:20 -0500)
committerJeff Godin <jgodin@tadl.org>
Mon, 23 Dec 2013 16:20:59 +0000 (11:20 -0500)
Display "MeLCat ID" (patron database id) to patrons under "My
Account".

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

index 930e647..ab5e467 100644 (file)
@@ -21,6 +21,7 @@
                 <p style="font-size: 1.2em;">You do not currently have a holdshelf alias set.</p>
         [% END %]
                 <p style="font-size: 1em;"><a href="[% mkurl(ctx.opac_root _ '/myopac/update_alias') %]">change</a> - <a href="http://www.tadl.org/creating-alias-holds-shelf">what's an alias?</a></p>
+                <p>Your MeLCat ID is: [% ctx.user.id %]</p>
        </div>
     </div>
     [% ELSE %]
@@ -61,6 +62,7 @@
                 <p style="font-size: 1.2em;">You do not currently have a holdshelf alias set.</p>
         [% END %]
                 <p style="font-size: 1em;"><a href="[% mkurl(ctx.opac_root _ '/myopac/update_alias') %]">change</a> - <a href="http://www.tadl.org/creating-alias-holds-shelf">what's an alias?</a></p>
+                <p>Your MeLCat ID is: [% ctx.user.id %]</p>
         </div>
     </div>
     [% END %]