From fee24e353e703e898e1153c8d99b70bfe5c26f1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joonas=20Kylm=C3=A4l=C3=A4?= Date: Wed, 19 Aug 2015 11:00:27 +0000 Subject: [PATCH] Bug 14579: 'You are not logged in' should link to log in page To test: 1) Go to any page on the staff client and make sure you are not logged in (ie an error page, cgi-bin/koha/errors/400.pl) 2) Try click on 'You are not logged in |' 3) Notice it is not really a link and doesn't take you anywhere 4) Apply patch 5) Refresh page 6) Click on what now says 'Log in |' 7) Confirm that you are redirected to the intranet log in page Signed-off-by: Aleisha Signed-off-by: Jonathan Druart --- koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css | 2 +- koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 19 +++++++++++++------ 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css index 2c4011f..23066ea 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css +++ b/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css @@ -2436,7 +2436,7 @@ a.disabled { color: #333; } -.navbar .nav > li > a { +.navbar .nav > li > a, .loggedout { color: #004D99; font-weight: bold; padding : .4em .2em; diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc index e4caee8..a4fd520 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc @@ -40,9 +40,9 @@ -
  • - Help
  • + [% ELSE %] +
  • + + Log in + | + Help + +
  • + [% END %] [% IF ( intranetbookbag ) %]
    Your cart is empty.
    [% END %] -- 2.1.0