[Catalog-sig] 'Hidden' field display bug
A.M. Kuchling
amk at amk.ca
Fri Aug 19 00:22:18 CEST 2005
For my packages on PyPI, the package editing page shows them as all
hidden; the 'Hide?' column is all "Yes". I went into the database and
toggled the hidden field for some of my packages, but that didn't make
any difference to what was displayed
Here's the relevant bit of the template. I don't know ZPT; is the
following excerpt correct?
<select tal:attributes="name string:hid_${release/version}">
<option value="0" tal:attributes="selected release/_pypi_hidden">No</option
>
<option value="1" tal:attributes="selected not:release/_pypi_hidden">Yes</o
ption>
</select>
Things like the version field are displayed correctly, so the variable
'release' seems to be defined. Is that attribute syntax correct?
--amk
More information about the Catalog-sig
mailing list