From: Jeff Godin Date: Mon, 23 Jul 2012 19:09:59 +0000 (-0400) Subject: Add in-library navigation when physical_loc=23 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=9a17f58ed18a290b73e07d38a73be30a15bc4650;p=evergreen%2Ftadl.git Add in-library navigation when physical_loc=23 Add in-library navigation for use at TADL-WOOD, when physical_loc (set by URL param and preserved in cookie) is set to 23 (TADL-WOOD). This navigation bar is an iframe from an internal system which provides links to services such as library card signup and public computer reservations. Signed-off-by: Jeff Godin --- diff --git a/templates_tadlskin/opac/home.tt2 b/templates_tadlskin/opac/home.tt2 index 19dfc58441..1cd5bf87d2 100644 --- a/templates_tadlskin/opac/home.tt2 +++ b/templates_tadlskin/opac/home.tt2 @@ -1,5 +1,8 @@ [% PROCESS "opac/parts/header.tt2"; WRAPPER "opac/parts/base.tt2"; + IF ctx.physical_loc == '23'; + INCLUDE "opac/parts/inlib_nav.tt2"; + END; INCLUDE "opac/parts/topnav.tt2"; ctx.page_title = l("Home") %]
diff --git a/templates_tadlskin/opac/parts/inlib_nav.tt2 b/templates_tadlskin/opac/parts/inlib_nav.tt2 new file mode 100644 index 0000000000..75dacc50b1 --- /dev/null +++ b/templates_tadlskin/opac/parts/inlib_nav.tt2 @@ -0,0 +1,3 @@ +
+ +