Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 May 2012 14:23:57 +0000 (UTC)
From:      Dag-Erling Smorgrav <des@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r236233 - user/des/fbce/root/lib
Message-ID:  <201205291423.q4TENv0s083447@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: des
Date: Tue May 29 14:23:57 2012
New Revision: 236233
URL: http://svn.freebsd.org/changeset/base/236233

Log:
  Indicate incumbent status along with active / inactive status.

Modified:
  user/des/fbce/root/lib/loginout

Modified: user/des/fbce/root/lib/loginout
==============================================================================
--- user/des/fbce/root/lib/loginout	Tue May 29 13:54:53 2012	(r236232)
+++ user/des/fbce/root/lib/loginout	Tue May 29 14:23:57 2012	(r236233)
@@ -1,7 +1,7 @@
 <div class="loginout">
   <div class="datetime">[% PROCESS lib/datetime dt=now %]</div>
   [% IF user %]
-  Logged in as [% user.name | html %] ([% IF user.active %]active[% ELSE %]inactive[% END %]) &ndash; <a href="[% c.uri_for('/logout') | html %]">Log out</a>
+  Logged in as [% user.name | html %] ([% IF user.active %]active[% ELSE %]inactive[% END %][% IF user.incumbent %], incumbent[% END %]) &ndash; <a href="[% c.uri_for('/logout') | html %]">Log out</a>
   [% ELSE %]
   <a href="[% c.uri_for('/login', { action => c.req.uri }) | html %]">Log in</a>
   [% END %]



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201205291423.q4TENv0s083447>