<div class="allrubriques">
	<h4> <i class="fa fa-flag"></i> {{ 'Rubriques'|trans }}</h4>
	<ul class="list-group">
		{% for rubrique in getAllRubriques() %}
			{% if rubrique.prestataires|length > 0 %}
				<li class="list-group-item d-flex justify-content-between align-items-center">
					<a class='rubrique' href='{{ path('show_rubrique', {'slug': rubrique.slug}) }}'>
						{% if rubrique.media is not null %}
							<span style='width:100px;'>{% thumbnail rubrique.media, 'preview' with {'style': 'width: 25px; max-width: 25px'} %}</span>
						{% endif %} {{rubrique.name}}
					</a>
					<span class="badge badge-primary badge-pill" data-toggle="tooltip" data-placement="bottom" title="{{rubrique.prestataires|length}}  {{ 'prestataires'|trans }}">{{rubrique.prestataires|length}}</span>
				</li>
			{% endif %}
		{% endfor %}
	</ul>
</div>