39 |
<div metal:use-macro="here/widgets/field/macros/edit"> |
<div metal:use-macro="here/widgets/field/macros/edit"> |
40 |
<div metal:fill-slot="widget_body" |
<div metal:fill-slot="widget_body" |
41 |
tal:define=" |
tal:define=" |
42 |
political_party here/getPoliticalParty; |
results python:here.getEligibleRecipients(); |
|
country here/getCountry; |
|
|
us_state here/getUsState; |
|
|
current_office here/getCurrentOffice; |
|
|
results python:here.portal_catalog(getCurrentOffice=current_office,getPoliticalParty=political_party,getUsState=us_state,getCountry=country,meta_type='ActionRecipient'); |
|
43 |
fieldName python:test(field.multiValued,fieldName+':list',fieldName); |
fieldName python:test(field.multiValued,fieldName+':list',fieldName); |
44 |
rlen python: len(results); |
rlen python: len(results); |
45 |
"> |
"> |