FIX Passing missing taxonomy-tag--parent to metiers
This commit is contained in:
parent
e16a195f03
commit
f08f6d1aab
|
|
@ -22,7 +22,7 @@ $hasEmptyTaxos = (empty($elementsBatimentsTerms) && empty($metiersTerms)) ? 'car
|
|||
</div>
|
||||
<div class="taxonomy-tags card-taxonomies__taxonomy-tags">
|
||||
<?php foreach ($elementsBatimentsTerms as $key => $term) : ?>
|
||||
<span class="taxonomy-tag"><?php echo $term->name; ?></span>
|
||||
<span class="taxonomy-tag taxonomy-tag--<?php echo $term->parent === 0 ? 'parent' : 'child'; ?>"><?php echo $term->name; ?></span>
|
||||
<?php endforeach; ?>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user