Commit a4f7139b authored by Sebastian Castro's avatar Sebastian Castro

Fixs role name

parent e023ea0b
......@@ -38,23 +38,23 @@
</div>
{% endif %}
{% if is_granted('ROLE_ADMIN_ELEMENT_LIST') %}
<div class="row">
<div class="col-xs-6 col-md-3">
<!-- small box -->
<div class="small-box bg-red">
<div class="inner">
<h3>{{ moderationNeededCount }}</h3>
<p>Éléments à modérer</p>
</div>
<div class="icon">
<i class="fa fa-wrench"></i>
</div>
<a href="{{ path('admin_biopen_geodirectory_element_list') }}?filter[moderationNeeded][value]=1" class="small-box-footer">
Afficher <i class="fa fa-arrow-circle-right"></i>
</a>
</div>
</div>
{% if is_granted('ROLE_ADMIN_ELEMENTS_LIST') %}
<div class="row">
<div class="col-xs-6 col-md-3">
<!-- small box -->
<div class="small-box bg-red">
<div class="inner">
<h3>{{ moderationNeededCount }}</h3>
<p>Éléments à modérer</p>
</div>
<div class="icon">
<i class="fa fa-wrench"></i>
</div>
<a href="{{ path('admin_biopen_geodirectory_element_list') }}?filter[moderationNeeded][value]=1" class="small-box-footer">
Afficher <i class="fa fa-arrow-circle-right"></i>
</a>
</div>
</div>
<div class="col-xs-6 col-md-3">
......
......@@ -26,7 +26,7 @@
</div>
</div>
{% if is_granted('ROLE_ADMIN_ELEMENT_LIST') %}
{% if is_granted('ROLE_ADMIN_ELEMENTS_LIST') %}
<div class="box-footer">
<a href="{{ path('admin_biopen_geodirectory_element_list') }}?filter[status][type]=1&filter[status][value]={{settings.filterStatus}}&filter[_page]=1&filter[_sort_by]=updatedAt&filter[_sort_order]=DESC&filter[_per_page]=32" class="btn btn-primary btn-block"><i class="fa fa-list"></i> Afficher tous</a>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment