Add self-registration link to topnav links.
authorChris Sharp <csharp@georgialibraries.org>
Wed, 5 Nov 2014 19:14:49 +0000 (14:14 -0500)
committerChris Sharp <csharp@georgialibraries.org>
Sat, 19 Nov 2016 12:38:01 +0000 (07:38 -0500)
Open-ILS/src/templates/opac/parts/topnav_links.tt2

index fa83b00..362c0a6 100644 (file)
@@ -2,6 +2,11 @@
     <div id="gold-links">
         <div id="header-links">
         <a href="/eg/opac/home">[% l("Home") %]</a>
+       [% IF ctx.get_org_setting(
+               ctx.physical_loc || ctx.aou_tree.id, 'opac.allow_pending_user') %]
+       <a href="[% mkurl(ctx.opac_root _ '/register') %]">[%
+               l('Apply for a PINES Library Card') %]</a> 
+       [% END %]
        <a href="/eg/kpac/home">[% l("Kids' Catalog") %]</a>
        <a href="http://www.georgialibraries.org/lib/directories/pineslibdir.html">[% l('Find a Library Near Me') %]</a>
        <a href="http://pines.georgialibraries.org/catalog-help">[% l('Help') %]</a>