From: <dre...@us...> - 2003-06-24 23:51:36
|
Update of /cvsroot/plone/CMFPlone/skins/plone_templates/ui_slots In directory sc8-pr-cvs1:/tmp/cvs-serv1096/skins/plone_templates/ui_slots Modified Files: Tag: Plone-1_0 login_slot.pt Log Message: Small DTML support fix. Dont break if no actions Index: login_slot.pt =================================================================== RCS file: /cvsroot/plone/CMFPlone/skins/plone_templates/ui_slots/login_slot.pt,v retrieving revision 1.14.2.6 retrieving revision 1.14.2.7 diff -C2 -d -r1.14.2.6 -r1.14.2.7 *** login_slot.pt 24 May 2003 02:39:40 -0000 1.14.2.6 --- login_slot.pt 24 Jun 2003 23:51:29 -0000 1.14.2.7 *************** *** 61,65 **** <div class="content odd" ! tal:define="join python:[a['url'] for a in actions['user'] if a['id']=='join']" tal:condition="python:test(join and hasattr(here,'portal_registration') and here.portal_membership.checkPermission('Add portal member', here), 1, 0)"> --- 61,65 ---- <div class="content odd" ! tal:define="join python:actions and [a['url'] for a in actions.get('user', []) if a['id']=='join']" tal:condition="python:test(join and hasattr(here,'portal_registration') and here.portal_membership.checkPermission('Add portal member', here), 1, 0)"> |