Bug 7567 - Use, display, filter News by library
[koha_fer] / koha-tmpl / opac-tmpl / prog / en / modules / opac-main.tt
index eb1e600..a1be710 100644 (file)
@@ -21,8 +21,8 @@
         <div id="notloggedin" class="yui-ge">
     [% END %]
         <div class="yui-u first">
-       [% IF ( koha_news_count ) %]
 <div id="news" class="container">
+        [% IF ( koha_news_count ) %]
     <table>
     [% FOREACH koha_new IN koha_news %]
     <tr><th>[% koha_new.title %]</th></tr>
@@ -30,8 +30,8 @@
                 <p class="newsfooter"><i>(published on [% koha_new.newdate %])</i></p></td></tr>
     [% END %]
     </table>
-</div>
 [% END %]
+</div>
 
       [% IF ( display_daily_quote && daily_quote ) %]
     <div id="daily-quote" class="container"><h1>Quote of the Day</h1><div><span id="daily-quote-text">[% daily_quote.text %]</span><span id="daily-quote-sep"> ~ </span><span id="daily-quote-source">[% daily_quote.source %]</span></div></div>