LP#1551451 Hide OPAC footer when viewed inside staff client
authorTerran McCanna <tmccanna@georgialibraries.org>
Mon, 29 Feb 2016 22:45:43 +0000 (17:45 -0500)
committerGalen Charlton <gmc@esilibrary.com>
Mon, 7 Mar 2016 18:23:20 +0000 (13:23 -0500)
This patch hides the contents of opac/parts/footer.tt2 if being
viewed in a 'staff' context.

To test, view same OPAC pages through browser and through Staff Client.

Signed-off-by: Terran McCanna <tmccanna@georgialibraries.org>
Signed-off-by: Erica Rohlfs <erohfls@esilibrary.com>
Signed-off-by: Galen Charlton <gmc@esilibrary.com>

Open-ILS/src/templates/opac/parts/footer.tt2

index 4e62f85..a5d7d9f 100644 (file)
@@ -1,3 +1,4 @@
+[% IF !ctx.is_staff %]
 <div id="footer-wrap">
 <div id="footer">
     [% IF ctx.get_org_setting(
@@ -32,3 +33,4 @@
     </div>
 </div>
 </div>
+[% END %]
\ No newline at end of file