Commit 216ff07a authored by Sebastian Castro's avatar Sebastian Castro

fixs dashboard permission

parent fa499fda
......@@ -8,7 +8,7 @@
</div>
<div class="box-body" style="max-height: 500px; overflow: auto">
{% include '@BiopenAdmin/core_custom/custom-fields/display-logs.html.twig' with { logs: messages, dismissLog: true } %}
{% include '@BiopenAdmin/core_custom/custom-fields/display-logs.html.twig' with { logs: messages, dismissLog: true } %}
</div>
{% if messages|length > 4 %}
......@@ -26,8 +26,8 @@
</div>
<div class="box-body" style="max-height: 500px; overflow: auto">
{% include '@BiopenAdmin/core_custom/custom-fields/display-logs.html.twig' with { logs: errors, dismissLog: true } %}
{% include '@BiopenAdmin/core_custom/custom-fields/display-logs.html.twig' with { logs: errors, dismissLog: true } %}
</div>
{% if errors|length > 4 %}
......@@ -38,8 +38,9 @@
</div>
{% endif %}
{% if is_granted('ROLE_ADMIN_ELEMENT_LIST') or is_granted('ROLE_SUPER_ADMIN') %}
<div class="row">
<div class="col-xs-6 col-md-3">
<div class="col-xs-6 col-md-3">
<!-- small box -->
<div class="small-box bg-red">
<div class="inner">
......@@ -55,8 +56,8 @@
</div>
</div>
<div class="col-xs-6 col-md-3">
<div class="col-xs-6 col-md-3">
<!-- small box -->
<div class="small-box bg-yellow">
<div class="inner">
......@@ -70,10 +71,10 @@
Afficher <i class="fa fa-arrow-circle-right"></i>
</a>
</div>
</div>
</div>
<div class="col-xs-6 col-md-3">
<div class="col-xs-6 col-md-3">
<!-- small box -->
<div class="small-box bg-green">
<div class="inner">
......@@ -87,9 +88,9 @@
Afficher <i class="fa fa-arrow-circle-right"></i>
</a>
</div>
</div>
</div>
<div class="col-xs-6 col-md-3">
<div class="col-xs-6 col-md-3">
<!-- small box -->
<div class="small-box bg-aqua">
<div class="inner">
......@@ -107,10 +108,10 @@
Tout afficher <i class="fa fa-arrow-circle-right"></i>
</a>
</div>
</div>
</div>
</div>
<div class="row">
<div class="col-xs-6 col-md-3 col-md-offset-3">
<div class="col-xs-6 col-md-3 col-md-offset-3">
<!-- small box -->
<div class="small-box bg-purple">
<div class="inner">
......@@ -126,9 +127,9 @@
Afficher <i class="fa fa-arrow-circle-right"></i>
</a>
</div>
</div>
</div>
<div class="col-xs-6 col-md-3">
<div class="col-xs-6 col-md-3">
<!-- small box -->
<div class="small-box bg-purple">
<div class="inner">
......@@ -144,8 +145,9 @@
Afficher <i class="fa fa-arrow-circle-right"></i>
</a>
</div>
</div>
</div>
</div>
{% endif %}
{% endblock %}
\ No newline at end of file
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