From: Chris Sharp Date: Mon, 4 May 2015 20:49:01 +0000 (-0400) Subject: Adding GALILEO in-library link logic to topnav links. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=838a58a07f6a04a09a97210c82150090dd8013a2;p=evergreen%2Fpines.git Adding GALILEO in-library link logic to topnav links. --- diff --git a/Open-ILS/src/templates/opac/parts/topnav_links.tt2 b/Open-ILS/src/templates/opac/parts/topnav_links.tt2 index c269f66d09..0002952594 100644 --- a/Open-ILS/src/templates/opac/parts/topnav_links.tt2 +++ b/Open-ILS/src/templates/opac/parts/topnav_links.tt2 @@ -18,7 +18,14 @@ [% l('Kids Catalog') %] [% l("Kids' Catalog") %] - + [% IF ctx.physical_loc; + # patron is at the branch, no redirect needed + gurl = 'http://www.galileo.usg.edu/express'; + ELSE; + # send patron to galileo auth redirector + gurl = mkurl(ctx.opac_root _ '/galileo', {}, 1); + END %] + [% l('GALILEO') %] [% l('GALILEO Research Databases') %] @@ -28,4 +35,4 @@ -
\ No newline at end of file +