From 0ccbb21d0a35e011db38631f7f6e95b75cdd16b8 Mon Sep 17 00:00:00 2001 From: Bill Erickson Date: Mon, 9 Jul 2012 10:22:51 -0400 Subject: [PATCH] kpac : repair skin2 logout link Replace non-existent logout image with logout text, including username, similar to skin1. Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander --- Open-ILS/examples/web/templates/kpac/parts/header.tt2 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Open-ILS/examples/web/templates/kpac/parts/header.tt2 b/Open-ILS/examples/web/templates/kpac/parts/header.tt2 index 4533f26b7a..d425b044cc 100644 --- a/Open-ILS/examples/web/templates/kpac/parts/header.tt2 +++ b/Open-ILS/examples/web/templates/kpac/parts/header.tt2 @@ -9,7 +9,11 @@ [% IF ctx.user %] [% redir = CGI.url('-base' => 1) _ ctx.kpac_root _ '/home' %] + {redirect_to => redir.replace('^https:', 'http:')}, 1) %]"> +
+ [% l('Logout ([_1] [_2])', ctx.user.first_given_name, ctx.user.family_name) %] +
+ [% ELSE %] [% END %] -- 2.11.0