From: Bill Erickson Date: Wed, 23 May 2012 17:35:55 +0000 (-0400) Subject: kpac : show name of logged in user w/ logout link X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=d47ed5d4e28595561e773dd442de60bb11f73b00;p=evergreen%2Fpines.git kpac : show name of logged in user w/ logout link Signed-off-by: Bill Erickson Signed-off-by: Mike Rylander --- diff --git a/Open-ILS/src/templates/kpac/parts/header.tt2 b/Open-ILS/src/templates/kpac/parts/header.tt2 index cdf2c5869f..e13a223bfb 100644 --- a/Open-ILS/src/templates/kpac/parts/header.tt2 +++ b/Open-ILS/src/templates/kpac/parts/header.tt2 @@ -17,7 +17,8 @@ [% IF ctx.user %] [% redir = CGI.url('-base' => 1) _ ctx.kpac_root _ '/home' %] [% l('Logout') %] + {redirect_to => redir.replace('^https:', 'http:')}, 1) %]">[% + l('Logout ([_1] [_2])', ctx.user.first_given_name, ctx.user.family_name) %] [% ELSE %] [% l('Login') %] [% END %]