push ajanvier updates

This commit is contained in:
Xbird
2023-03-28 13:16:55 +00:00
parent f955733afa
commit 235f6e5e55
17 changed files with 578 additions and 562 deletions

View File

@@ -1,8 +1,8 @@
{% extends 'base.html.twig' %}
{% block title %}{{ ("documentType_" ~ type)|trans }}{% if archive %} | {% trans %}title_archives{% endtrans %}{% endif %}{% endblock %}
{% block title %}{{ ('documentType_' ~ type)|trans }}{% if archive %} | {% trans %}title_archives{% endtrans %}{% endif %}{% endblock %}
{% block subtitle %}
{{ ("documentType_" ~ type)|trans }} {% if archive %} | {% trans %}title_archives{% endtrans %}{% else %}
{{ ('documentType_' ~ type)|trans }} {% if archive %} | {% trans %}title_archives{% endtrans %}{% else %}
{% if documentTypeEntity.directory is not defined and documentTypeEntity.user is not defined %}
{% if app.user.hasPermission(type ~ '_create') %}
<a href="{{ path('document_create', {type: type}) }}"><span class="badge rounded-pill bg-success"><i class="fa fa-plus"></i> {% trans %}button_create{% endtrans %}</span></a>{% endif %}