@@ -, +, @@
date hint
---
.../prog/en/modules/tools/koha-news.tt | 5 ++++-
.../opac-tmpl/bootstrap/en/modules/opac-main.tt | 26 ++++++++++++----------
2 files changed, 18 insertions(+), 13 deletions(-)
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt
@@ -97,7 +97,10 @@ Edit news item[% ELSE %]Add news item[% END %][% ELSE %]News[% END %]
- [% INCLUDE 'date-format.inc' %]
+
+ [% INCLUDE 'date-format.inc' %]
+
News will still be accessible by direct URL if expired.
+
--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
+++ a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-main.tt
@@ -79,7 +79,7 @@
[% koha_new.content | $raw %]
-
+
[% END %]
@@ -106,6 +106,18 @@
[% END %]
+ [% END %]
+
+ [% ELSE %]
+ [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
+
+
+
No news to display.
+
+
+
+ [% END %]
+
[% IF ( display_daily_quote && daily_quote ) %]
Quote of the day
@@ -117,17 +129,7 @@
[% IF ( OpacMainUserBlock ) %]
[% OpacMainUserBlock | $raw %]
[% END %]
- [% END %]
- [% ELSE %]
- [% IF Koha.Preference( 'OpacNewsLibrarySelect' ) %]
-
-
-
No news to display.
-
-
-
- [% END %]
- [% END %]
+ [% END %]
[% IF ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) || OpacNavRight ) %]
--