50 lines
1.8 KiB
Twig
50 lines
1.8 KiB
Twig
{% extends '@CadolesCore/base.html.twig' %}
|
|
|
|
{% block pagewrapper %}
|
|
<h1 class="page-header">Gestion des Groupes</h1>
|
|
|
|
<p><a class="btn btn-success" href={{ path('cadoles_core_config_group_submit') }}>Ajouter</a></p>
|
|
|
|
<div class="panel panel-primary">
|
|
<div class="panel-heading">
|
|
<i class="fa fa-table fa-fw"></i> Liste des Groupes
|
|
</div>
|
|
|
|
<div class="panel-body">
|
|
<div class="dataTable_wrapper">
|
|
<table class="table table-striped table-bordered table-hover" id="dataTables" style="width:100%">
|
|
<thead>
|
|
<tr>
|
|
<th width="130px" class="no-sort">Action</th>
|
|
<th>Label</th>
|
|
<th>Ouvert</th>
|
|
<th class="no-sort {% if masteridentity=="SQL" %} no-visible {% endif %}">Filtre</th>
|
|
{% if portal_activate %}
|
|
<th>Groupe de Travail</th>
|
|
<th>Création Pages</th>
|
|
<th>Création Calendriers</th>
|
|
<th>Création Blogs</th>
|
|
{% endif %}
|
|
</tr>
|
|
</thead>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
{% endblock %}
|
|
|
|
|
|
{% block localjavascript %}
|
|
$(document).ready(function() {
|
|
$('#dataTables').DataTable({
|
|
columnDefs: [ { "targets": 'no-sort', "orderable": false },{ "targets": 'no-visible', "visible": false } ],
|
|
responsive: true,
|
|
iDisplayLength: 100,
|
|
order: [[ 1, "asc" ]],
|
|
processing: true,
|
|
serverSide: true,
|
|
ajax: "{{ path('cadoles_core_config_group_ajax_list') }}",
|
|
});
|
|
});
|
|
{% endblock %}
|