Hi! as requested by Marc-Aur�le, I've added a session information portlet that displays information about the currently logged in user.
this is a first shot. http://www.medic.chalmers.se/~jmo/CPS/session-info.png make modifications on it if you wish (adding the user's fullname), changing the text, etc. PS: the portlet is cached in RAM, so there is no worry about performance. best /JM
--- Begin Message ---Update of /home/cvs/CPS3/CPSDefault/skins/cps_default In directory bertha.in.nuxeo.com:/tmp/cvs-serv31675/skins/cps_default Added Files: portlet_session_info.pt Log Message: added a session information portlet. XXX: i18n must be updated. === Added File CPS3/CPSDefault/skins/cps_default/portlet_session_info.pt === <tal:block define="mtool here/portal_membership; anonymous mtool/isAnonymousUser"> <tal:block condition="not:anonymous"> <span i18n:translate="">You are currently logged in as</span> <em tal:content="mtool/getAuthenticatedMember" /> (<a href="" i18n:translate="" tal:attributes="href string:${here/portal_url}/logout">log out</a>) </tal:block> </tal:block>
--- End Message ---
_______________________________________________ cps-devel mailing list http://lists.nuxeo.com/mailman/listinfo/cps-devel
