diff --git a/templates/organization/activity.html.twig b/templates/organization/activity.html.twig new file mode 100644 index 0000000..60ad84d --- /dev/null +++ b/templates/organization/activity.html.twig @@ -0,0 +1,22 @@ +{% block body %} +

{{ title }}

+ +
+ +
+{# {% if activities|length == 0 %}#} +{#

Aucune activité récente.

#} +{# {% else %}#} + +{# {% endif %}#} +
+{% endblock %} \ No newline at end of file diff --git a/templates/organization/show.html.twig b/templates/organization/show.html.twig index 6713e19..9939c02 100644 --- a/templates/organization/show.html.twig +++ b/templates/organization/show.html.twig @@ -24,9 +24,23 @@ } %}
- {% include 'user/userList.html.twig' with { - title: 'Mes utilisateurs', - } %} + {% include 'user/userList.html.twig' with { + title: 'Mes utilisateurs', + } %} + +{#
#} +{#
#} +{# {% include 'user/userList.html.twig' with {#} +{# title: 'Mes utilisateurs',#} +{# } %}#} +{#
#} +{#
#} +{# {% include 'organization/activity.html.twig' with {#} +{# title: 'Activités récentes',#} +{# empty_message: 'Aucune activité récente.'#} +{# } %}#} +{#
#} +{#
#} {% endblock %} diff --git a/templates/user/userListSmall.html.twig b/templates/user/userListSmall.html.twig index 1549478..7d5ee00 100644 --- a/templates/user/userListSmall.html.twig +++ b/templates/user/userListSmall.html.twig @@ -1,4 +1,4 @@ -
+

{{ title }}