Skip to content
Snippets Groups Projects
Unverified Commit a4f7139b authored by Sebastian Castro's avatar Sebastian Castro
Browse files

Fixs role name

parent e023ea0b
No related branches found
No related tags found
No related merge requests found
...@@ -38,23 +38,23 @@ ...@@ -38,23 +38,23 @@
</div> </div>
{% endif %} {% endif %}
{% if is_granted('ROLE_ADMIN_ELEMENT_LIST') %} {% if is_granted('ROLE_ADMIN_ELEMENTS_LIST') %}
<div class="row"> <div class="row">
<div class="col-xs-6 col-md-3"> <div class="col-xs-6 col-md-3">
<!-- small box --> <!-- small box -->
<div class="small-box bg-red"> <div class="small-box bg-red">
<div class="inner"> <div class="inner">
<h3>{{ moderationNeededCount }}</h3> <h3>{{ moderationNeededCount }}</h3>
<p>Éléments à modérer</p> <p>Éléments à modérer</p>
</div> </div>
<div class="icon"> <div class="icon">
<i class="fa fa-wrench"></i> <i class="fa fa-wrench"></i>
</div> </div>
<a href="{{ path('admin_biopen_geodirectory_element_list') }}?filter[moderationNeeded][value]=1" class="small-box-footer"> <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> Afficher <i class="fa fa-arrow-circle-right"></i>
</a> </a>
</div> </div>
</div> </div>
<div class="col-xs-6 col-md-3"> <div class="col-xs-6 col-md-3">
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
</div> </div>
</div> </div>
{% if is_granted('ROLE_ADMIN_ELEMENT_LIST') %} {% if is_granted('ROLE_ADMIN_ELEMENTS_LIST') %}
<div class="box-footer"> <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> <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> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment