Show taxon is disabled in manage taxon pages and product list page

This commit is contained in:
Luca Gallinari 2020-03-30 12:05:13 +02:00 committed by Manuele Menozzi
parent 3bd9b1ce5c
commit 829e294de7
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@
<i class="{{ taxon.children is not empty ? 'caret down' : 'angle left' }} icon"></i>
</div>
<div class="sylius-tree__title">
<a href="{{ path('sylius_admin_product_per_taxon_index', {'taxonId': taxon.id}) }}">
<a href="{{ path('sylius_admin_product_per_taxon_index', {'taxonId': taxon.id}) }}"{% if not taxon.enabled %} class="text gray"{% endif %}>
{{ taxon.name }}
</a>
</div>

View file

@ -11,7 +11,7 @@
<i class="{{ taxon.children is not empty ? 'caret down' : 'angle left' }} icon"></i>
</div>
<div class="sylius-tree__title">
<a href="{{ path('sylius_admin_product_per_taxon_index', {'taxonId': taxon.id}) }}">
<a href="{{ path('sylius_admin_product_per_taxon_index', {'taxonId': taxon.id}) }}"{% if not taxon.enabled %} class="text gray"{% endif %}>
{{ taxon.name }}
</a>
</div>