only list mixed committee

This commit is contained in:
Frédéric Péters 2011-11-16 18:21:03 +01:00
parent 9416cd53c6
commit 4597047b4f
1 changed files with 4 additions and 1 deletions

View File

@ -14,7 +14,9 @@
<h1 metal:use-macro="context/kss_generic_macros/macros/generic_title_view">Title</h1>
<div tal:replace="structure provider:plone.belowcontenttitle" />
<div tal:repeat="item context/values" class="collapsible_content_container_holder">
<tal:block tal:repeat="item context/values">
<div class="collapsible_content_container_holder"
tal:condition="python: item.portal_type == 'tabellio.mixedcommittee.committee'">
<div tal:attributes="class python: 'collapsible_content_container %s' % (repeat['item'].start and 'opened' or 'collapsed')">
<dl class="collapsible">
<dt class="collapsibleHeader" tal:content="item/Title">Maroc</dt>
@ -42,6 +44,7 @@
</div>
</div>
</tal:block>
</dd>
</dl>