summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrédéric Péters <fpeters@entrouvert.com>2011-11-16 17:21:03 (GMT)
committerFrédéric Péters <fpeters@entrouvert.com>2011-11-16 17:21:03 (GMT)
commit4597047b4f04c049622129a503e1c2f26f5e6015 (patch)
tree4c4c093e45aaf4c1c6966e687c76c119bb70d005
parent9416cd53c616fc3b59a61de7eea24759d446cb56 (diff)
downloadtabellio.mixedcommittee-4597047b4f04c049622129a503e1c2f26f5e6015.zip
tabellio.mixedcommittee-4597047b4f04c049622129a503e1c2f26f5e6015.tar.gz
tabellio.mixedcommittee-4597047b4f04c049622129a503e1c2f26f5e6015.tar.bz2
only list mixed committee
-rw-r--r--tabellio/mixedcommittee/folder.pt5
1 files changed, 4 insertions, 1 deletions
diff --git a/tabellio/mixedcommittee/folder.pt b/tabellio/mixedcommittee/folder.pt
index a8906b5..bf216b9 100644
--- a/tabellio/mixedcommittee/folder.pt
+++ b/tabellio/mixedcommittee/folder.pt
@@ -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>