[CMF-checkins] CVS: CMF/CMFCollector/skins/collector - collector_macros.pt:1.29
Ken Manheimer
klm@zope.com
Sat, 26 Jan 2002 17:20:46 -0500
Update of /cvs-repository/CMF/CMFCollector/skins/collector
In directory cvs.zope.org:/tmp/cvs-serv32202
Modified Files:
collector_macros.pt
Log Message:
Parenthesize the state when it had '_confidential'. XXX A subtle cue, to
be documented.
=== CMF/CMFCollector/skins/collector/collector_macros.pt 1.28 => 1.29 ===
<tr>
<td align="right">Status:</td>
- <td tal:define="base python: split(here.status(), '_')[0];
- paren here/confidential">
+ <td tal:define="statpair python: split(here.status(), '_');
+ base python: statpair[0];
+ paren python: len(statpair) > 1">
<span tal:replace="python: '%s%s%s'
% ((paren and '(') or '',
base,