[CMF-checkins] CVS: Products/CMFDecor/skins/zpt_generic - breadcrumbs.py:1.4
Jens Vagelpohl
jens@zope.com
Wed, 10 Oct 2001 15:02:22 -0400
Update of /cvs-repository/Products/CMFDecor/skins/zpt_generic
In directory cvs.zope.org:/tmp/cvs-serv5190/CMFDecor/skins/zpt_generic
Modified Files:
breadcrumbs.py
Log Message:
quick fix to prevent the "talkback" discussion item container from
showing up in the breadcrumbs
=== Products/CMFDecor/skins/zpt_generic/breadcrumbs.py 1.3 => 1.4 ===
now = relative[ :i+1 ]
obj = portal.restrictedTraverse( now )
- result.append( { 'id' : now[ -1 ]
- , 'title' : obj.Title()
- , 'url' : portal_url + '/' + join( now, '/' )
- }
- )
+ if not now[ -1 ] == 'talkback':
+ result.append( { 'id' : now[ -1 ]
+ , 'title' : obj.Title()
+ , 'url' : portal_url + '/' + join( now, '/' )
+ }
+ )
return result