show candidates list for task only if there are any
This commit is contained in:
parent
8e9b4267f2
commit
635a4e2568
1 changed files with 26 additions and 22 deletions
|
@ -53,6 +53,9 @@
|
||||||
|
|
||||||
<metal:candidates define-macro="requirement_candidates">
|
<metal:candidates define-macro="requirement_candidates">
|
||||||
<metal:block use-macro="view/concept_macros/conceptdata" />
|
<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>
|
<h3 i18n:translate="">Candidates for Task</h3>
|
||||||
<table class="listing">
|
<table class="listing">
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -75,6 +78,7 @@
|
||||||
</tal:knowledge></td>
|
</tal:knowledge></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
</div>
|
||||||
</metal:candidates>
|
</metal:candidates>
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue