From a46625ac39bb8c13d63a3b65368f1da4cd8a44f8 Mon Sep 17 00:00:00 2001 From: Solene Desvaux Date: Thu, 31 Mar 2022 11:28:09 +0200 Subject: [PATCH] Bug 30952: Intranet main page --- .../prog/en/modules/intranet-main.tt | 167 ++++++++---------- 1 file changed, 75 insertions(+), 92 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt index 8f121beab3..43b12c3f9f 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -4,30 +4,39 @@ [% USE Branches %] [% USE KohaDates %] [% SET footerjs = 1 %] +[% formulaire = BLOCK %] + [% INCLUDE 'home-search.inc' %] +[% END %] [% INCLUDE 'doc-head-open.inc' %] Koha staff interface [% Asset.css("css/mainpage.css") | $raw %] [% INCLUDE 'doc-head-close.inc' %] - -[% INCLUDE 'header.inc' %] -[% INCLUDE 'home-search.inc' %] - + + [% INCLUDE 'header.inc' form=formulaire %] + +

Koha home

+
+

News

[% IF ( koha_news.count ) %] -
-

News

[% SET show_author = Koha.Preference('NewsAuthorDisplay') == 'staff' || Koha.Preference('NewsAuthorDisplay') == 'both' %] [% FOREACH koha_new IN koha_news %]

[% koha_new.title | html %]

@@ -41,127 +50,101 @@

[% END %] -
[% END %] +
+
+

Quote of the day

+ [% IF ( daily_quote ) %] -
-

Quote of the day

[% daily_quote.text | html %] ~ [% daily_quote.source | html %]
-
[% END %] +
+
-
-
-
- -
+ [% IF ( CAN_user_tools ) %] +
  • Tools
  • + [% END %] + [% IF ( CAN_user_parameters ) %] +
  • Koha administration
  • + [% END %] + +
    -- 2.17.1