LP#1551451 Hide OPAC footer when viewed inside staff client user/mccanna/lp1551451_hide_opac_footer_in_staff_client
authorTerran McCanna <tmccanna@georgialibraries.org>
Mon, 29 Feb 2016 22:45:43 +0000 (17:45 -0500)
committerTerran McCanna <tmccanna@georgialibraries.org>
Mon, 29 Feb 2016 22:45:43 +0000 (17:45 -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>
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