- {% if entity.civility is not null %}
- {% if entity.civility.name|length > 0 %}
- {{ entity.civility.name|first }}
+ {% embed '@ChillMain/CRUD/_index.html.twig' %}
+
+ {% block index_header %}
+
{{"Users"|trans}}
+ {% endblock %}
+
+ {% block filter_order %}{{ filter_order|chill_render_filter_order_helper }}{% endblock %}
+
+ {% block table_entities_thead_tr %}
+
{{ 'Active'|trans }} |
+
{{ 'Username'|trans }} |
+
{{ 'Datas'|trans }} |
+
{{ 'Actions'|trans }} |
+ {% endblock %}
+
+ {% block table_entities_tbody %}
+ {% for entity in entities %}
+
+
+ {% if entity.isEnabled %}
+
+ {% else %}
+
{% endif %}
- {% endif %}
- {{ entity.label }}
- {% if entity.isEnabled %}
-
- {% else %}
-
- {% endif %}
-
- {{ entity.email }}
-
-
-
- login: {{ entity.username|e('html_attr') }}
-
-
- {% if entity.userJob %}
- {{ entity.userJob.label|localize_translatable_string }}
- {% endif %}
-
-
-
-
- {% if entity.mainScope %}
- {{ entity.mainScope.name|localize_translatable_string }}
- {% endif %}
- {% if entity.mainCenter %}
- , {{ entity.mainCenter.name }}
- {% endif %}
-
-
-
-
- -
-
-
-
- {% if allow_change_password is same as(true) %}
- -
-
-
- {% endif %}
-
- {% if is_granted('ROLE_ALLOWED_TO_SWITCH') %}
- -
-
-
- {% endif %}
-
-
-
-
-
- {% endfor %}
-
- {{ chill_pagination(paginator) }}
-
-
-
+ |
+
+ {#
+ {% if entity.civility is not null %}
+ {% if entity.civility.name|length > 0 %}
+ {{ entity.civility.name|first }}
+ {% endif %}
+ {% endif %}
+ #}
+ {{ entity.label }}
+ |
+
+
+ -
+ login:
+ {{ entity.username|e('html_attr') }}
+
+ -
+ email:
+ {{ entity.email }}
+
+ -
+ métier:
+ {% if entity.userJob %}{{ entity.userJob.label|localize_translatable_string }}{% endif %}
+
+ -
+ cercle/centre:
+ {% if entity.mainScope %}
+ {{ entity.mainScope.name|localize_translatable_string }}
+ {% endif %}
+ {% if entity.mainCenter %}, {{ entity.mainCenter.name }}{% endif %}
+
+
+ |
+
+
+ -
+
+
+
+ {% if allow_change_password is same as(true) %}
+ -
+
+
+ {% endif %}
+
+ {% if is_granted('ROLE_ALLOWED_TO_SWITCH') %}
+ -
+
+
+ {% endif %}
+
+ |
+
+ {% endfor %}
+ {% endblock %}
+
+ {% block pagination %}{{ chill_pagination(paginator) }}{% endblock %}
+
+ {% block list_actions %}
+
+ {% endblock list_actions %}
+
+ {% endembed %}
{% endblock %}
diff --git a/src/Bundle/ChillMainBundle/Resources/views/UserJob/index.html.twig b/src/Bundle/ChillMainBundle/Resources/views/UserJob/index.html.twig
index 3d56265dc..e8ea9ec38 100644
--- a/src/Bundle/ChillMainBundle/Resources/views/UserJob/index.html.twig
+++ b/src/Bundle/ChillMainBundle/Resources/views/UserJob/index.html.twig
@@ -2,12 +2,14 @@
{% block admin_content %}
{% embed '@ChillMain/CRUD/_index.html.twig' %}
+
{% block table_entities_thead_tr %}
id |
-
{{ 'label'|trans }} |
-
{{ 'active'|trans }} |
-
|
+
{{ 'Label'|trans }} |
+
{{ 'Active'|trans }} |
+
{{ 'Actions'|trans }} |
{% endblock %}
+
{% block table_entities_tbody %}
{% for entity in entities %}
@@ -30,11 +32,12 @@
{% endfor %}
{% endblock %}
-
+
{% block actions_before %}
{{'Back to the admin'|trans}}
{% endblock %}
+
{% endembed %}
{% endblock %}
diff --git a/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminLanguageMenuBuilder.php b/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminLanguageMenuBuilder.php
index a13b33a1e..1499063d5 100644
--- a/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminLanguageMenuBuilder.php
+++ b/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminLanguageMenuBuilder.php
@@ -40,7 +40,7 @@ class AdminLanguageMenuBuilder implements LocalMenuBuilderInterface
->setAttribute('class', 'list-group-item-header')
->setExtras([
'order' => 1200,
- 'icons' => ['globe-w'],
+ //'icons' => ['globe-w'],
]);
$menu->addChild('Language list', [
'route' => 'chill_crud_main_language_index',
diff --git a/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminLocationMenuBuilder.php b/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminLocationMenuBuilder.php
index 081d5d84a..6d52d8f48 100644
--- a/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminLocationMenuBuilder.php
+++ b/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminLocationMenuBuilder.php
@@ -40,7 +40,7 @@ class AdminLocationMenuBuilder implements LocalMenuBuilderInterface
->setAttribute('class', 'list-group-item-header')
->setExtras([
'order' => 1300,
- 'icons' => ['map-marker'],
+ //'icons' => ['map-marker'],
]);
$menu->addChild('Location type list', [
diff --git a/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminUserMenuBuilder.php b/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminUserMenuBuilder.php
index 5cb4e087b..96f2fb3bd 100644
--- a/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminUserMenuBuilder.php
+++ b/src/Bundle/ChillMainBundle/Routing/MenuBuilder/AdminUserMenuBuilder.php
@@ -46,7 +46,7 @@ class AdminUserMenuBuilder implements LocalMenuBuilderInterface
->setAttribute('class', 'list-group-item-header')
->setExtras([
'order' => 1000,
- 'icons' => ['key'],
+ //'icons' => ['key'],
]);
$menu->addChild('Center list', [
diff --git a/src/Bundle/ChillPersonBundle/Menu/AdminAccompanyingCourseMenuBuilder.php b/src/Bundle/ChillPersonBundle/Menu/AdminAccompanyingCourseMenuBuilder.php
index f75d2844b..3f5eed676 100644
--- a/src/Bundle/ChillPersonBundle/Menu/AdminAccompanyingCourseMenuBuilder.php
+++ b/src/Bundle/ChillPersonBundle/Menu/AdminAccompanyingCourseMenuBuilder.php
@@ -39,7 +39,7 @@ class AdminAccompanyingCourseMenuBuilder implements LocalMenuBuilderInterface
->setAttribute('class', 'list-group-item-header')
->setExtras([
'order' => 2200,
- 'icons' => ['random'],
+ //'icons' => ['random'],
]);
$menu->addChild('person_admin.closing motives', [
diff --git a/src/Bundle/ChillPersonBundle/Menu/AdminHouseholdMenuBuilder.php b/src/Bundle/ChillPersonBundle/Menu/AdminHouseholdMenuBuilder.php
index 6a9e9dedc..85d221579 100644
--- a/src/Bundle/ChillPersonBundle/Menu/AdminHouseholdMenuBuilder.php
+++ b/src/Bundle/ChillPersonBundle/Menu/AdminHouseholdMenuBuilder.php
@@ -39,7 +39,7 @@ class AdminHouseholdMenuBuilder implements LocalMenuBuilderInterface
->setAttribute('class', 'list-group-item-header')
->setExtras([
'order' => 2100,
- 'icons' => ['home'],
+ //'icons' => ['home'],
]);
$menu->addChild('Position', [
diff --git a/src/Bundle/ChillPersonBundle/Menu/AdminPersonMenuBuilder.php b/src/Bundle/ChillPersonBundle/Menu/AdminPersonMenuBuilder.php
index 8459e4b89..45835c074 100644
--- a/src/Bundle/ChillPersonBundle/Menu/AdminPersonMenuBuilder.php
+++ b/src/Bundle/ChillPersonBundle/Menu/AdminPersonMenuBuilder.php
@@ -39,7 +39,7 @@ class AdminPersonMenuBuilder implements LocalMenuBuilderInterface
->setAttribute('class', 'list-group-item-header')
->setExtras([
'order' => 2000,
- 'icons' => ['child'],
+ //'icons' => ['child'],
]);
$menu->addChild('Civility', [
diff --git a/src/Bundle/ChillPersonBundle/Menu/AdminSocialWorkMenuBuilder.php b/src/Bundle/ChillPersonBundle/Menu/AdminSocialWorkMenuBuilder.php
index cec672dd2..ff3816cdb 100644
--- a/src/Bundle/ChillPersonBundle/Menu/AdminSocialWorkMenuBuilder.php
+++ b/src/Bundle/ChillPersonBundle/Menu/AdminSocialWorkMenuBuilder.php
@@ -39,7 +39,7 @@ class AdminSocialWorkMenuBuilder implements LocalMenuBuilderInterface
->setAttribute('class', 'list-group-item-header')
->setExtras([
'order' => 2300,
- 'icons' => ['handshake-o'],
+ //'icons' => ['handshake-o'],
]);
$menu->addChild('person_admin.social_action', [
diff --git a/src/Bundle/ChillThirdPartyBundle/Menu/AdminMenuBuilder.php b/src/Bundle/ChillThirdPartyBundle/Menu/AdminMenuBuilder.php
index bc1e6ef08..c89fbc5e7 100644
--- a/src/Bundle/ChillThirdPartyBundle/Menu/AdminMenuBuilder.php
+++ b/src/Bundle/ChillThirdPartyBundle/Menu/AdminMenuBuilder.php
@@ -39,7 +39,7 @@ class AdminMenuBuilder implements LocalMenuBuilderInterface
->setAttribute('class', 'list-group-item-header')
->setExtras([
'order' => 3000,
- 'icons' => ['male'],
+ //'icons' => ['male'],
]);
$menu->addChild('Third party category', [