{# # This file is part of MedShakeEHR. # # Copyright (c) 2017 # Bertrand Boutillier # http://www.medshake.net # # MedShakeEHR is free software: you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation, either version 3 of the License, or # any later version. # # MedShakeEHR is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with MedShakeEHR. If not, see . #/ /## # Template > Config : gestion des templates d'impression PDF # # @author Bertrand Boutillier # @contrib fr33z00 # #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %}{{ config.designAppName }} : gestions des templates PDF{% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block body %}

Gestion des modèles d'impression

{# Nav tabs #}

Répertoire

Répertoire (templatesPdfFolder) {{ page.repertoireTemplatesPDF }}
Est accessible en lecture  
Est accessible en écriture  

Ajouter des templates ou des images

{% if page.templatesDirAutorisationEcriture == 1 %}
Déposez ici le fichier ou sélectionnez-le avec le bouton ci-dessous
{% else %} {% endif %}

Fichiers présents

{% if page.templatesDirAutorisationLecture == 1 %} {% if page.listeTemplates|length < 1 and page.listeAutres|length < 1 %} {% else %}
{% if page.listeTemplates|length > 0 %} {% for k,v in page.listeTemplates %} {% if v.file %} {% endif %} {% endfor %}
Fichier Lié à Gérer
{{ v.file }} {% if v.linkedTo %}
    {% for l,w in v.linkedTo %}
  • {{ w.type }} : {{ w.name }}
  • {% endfor %}
{% endif %}
{% if page.templatesDirAutorisationEcriture == false %} {% else %} {% endif %}
{% else %} {% endif %}
{% if page.listeAutres|length > 0 %}
{% for k,v in page.listeAutres %} {% if v.file %} {% endif %} {% endfor %}
Fichier Gérer
{{ v.file }}
{% endif %}
{% endif %} {% else %} {% endif %} {% endblock %}