#42 — test() function in easynewsletter_view.pt

by Régis Rouet last modified Sep 21, 2011 05:39 PM
State Unconfirmed
Version:
Area Functionality
Issue type Feature
Severity Medium
Submitted by Régis Rouet
Submitted on Sep 21, 2011
Responsible
Target release:
while this doesn't raise an error, taking easynewsletter_view.pt as a model for a custom zope3 view will

see http://readthedocs.org/docs[…]or-name-test-is-not-defined
Added by Régis Rouet on Sep 21, 2011 05:39 PM
so the correct expression would rather be :

             tal:attributes="class python:here.Format() in ('text/structured', 'text/x-rst', ) and 'stx' + kss_class or 'plain' + kss_class">

No responses can be added.