Add department-specific iframes for Youth Services (ys) department
sliders. This relies on a ctx.physical_dept variable being set to
'ys'.
Signed-off-by: Jeff Godin <jgodin@tadl.org>
<div id="content-wrapper">
<div id="main-content-home">
<div class="common-full-pad"></div>
- [% INCLUDE "opac/parts/homesearch.tt2" %]
+ [%- IF ctx.physical_dept == 'ys' %]
+ [% INCLUDE "opac/parts/homesearch_ys.tt2" %]
+ [%- ELSE %]
+ [% INCLUDE "opac/parts/homesearch.tt2" %]
+ [%- END -%]
<div class="common-full-pad"></div>
</div>
</div>
--- /dev/null
+<div id="homesearch_main_logo">
+<h1 class="home-header">[% l("New Books"); %]</h1>
+<iframe width="960" height="240" src="https://www.tadl.org/slider/youth.php" frameborder="0" marginwidth="5" marginheight="5" scrolling="no" style="background:#F0F2F5;text-align:center"></iframe>
+<h1 class="home-header">[% l("On Display"); %]</h1>
+<iframe width="960" height="200" src="https://www.tadl.org/slider/youthdisplay.php" frameborder="0" marginwidth="5" marginheight="5" scrolling="no" style="background:#F0F2F5;text-align:center"></iframe>
+</div>