show candidates list for task only if there are any

This commit is contained in:
Helmut Merz 2016-04-16 08:57:23 +02:00
parent 8e9b4267f2
commit 635a4e2568

View file

@ -53,6 +53,9 @@
<metal:candidates define-macro="requirement_candidates">
<metal:block use-macro="view/concept_macros/conceptdata" />
<div class="candidates"
tal:define="candidates item/adapted/getCandidates"
tal:condition="candidates">
<h3 i18n:translate="">Candidates for Task</h3>
<table class="listing">
<tr>
@ -75,6 +78,7 @@
</tal:knowledge></td>
</tr>
</table>
</div>
</metal:candidates>