Commit b60b9176e98e8bc93b807bb717ca2d684fb2c327
1 parent
27b2ce4c
Exists in
master
and in
1 other branch
ocultando esttatisticas para usuário comum
Showing
1 changed file
with
3 additions
and
1 deletions
Show diff stats
src/Cacic/CommonBundle/Resources/views/Default/index.html.twig
... | ... | @@ -4,7 +4,8 @@ |
4 | 4 | |
5 | 5 | <div class="row-fluid"> |
6 | 6 | |
7 | - <div class="span6 column ui-sortable" id="col0"> | |
7 | + {% if nivel['teGrupoUsuarios'] == 'Administração' %} | |
8 | + <div class="span6 column ui-sortable" id="col0"> | |
8 | 9 | <div class="box grad_colour_black" id="box0"> |
9 | 10 | <h2 class="box_head round_top"><i class="icon-bar-chart"></i> {{ 'Estatísticas do sistema'|trans }}</h2> |
10 | 11 | <div class="toggle_container"> |
... | ... | @@ -26,6 +27,7 @@ |
26 | 27 | </div> |
27 | 28 | </div> <!-- /box --> |
28 | 29 | </div><!-- /span --> |
30 | + {% endif %} | |
29 | 31 | |
30 | 32 | <div class="span6 column ui-sortable" id="col1"> |
31 | 33 | <div class="box grad_colour_black" id="box1"> | ... | ... |