<div class="card subject-card">
<div class="card-body row">
<div class="col-4 px-0 text-center">
{% if subject.icon is defined and subject.icon %}
<img src="{{ asset('build/images/svg/subjects/' ~ subject.icon ~ '.svg') }}" alt="" class="subject-icon"/>
{% endif %}
</div>
<div class="col-8 px-0">
<a href="{{ path('advert_list', {'filterContainer': advert_list_url({'subject': subject.slug})}) }}" class="h6 subject-name">
{{ subject.name }}
</a>
<p class="subject-count">{{ 'adverts.count'|trans({'count': subject.count}, 'advert') }}</p>
</div>
</div>
</div>