{# # 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 : montrer les tags disponibles pour la rédaction d'un template # à partir d'un objet et de son ID # # @author Bertrand Boutillier # @contrib fr33z00 #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %}{{ config.designAppName }} : configuration{% endblock %} {% block head %} {{ parent() }} {% endblock %} {% block body %}

Tags disponibles pour l'objet

{% for k,v in page.tabTags %} {% for l,w in v.tags %} {% endfor %} {% endfor %}
# Tag Label Valeur
{% if k =='calc' %}Tags calculés{% else %}{{ v.catName }}{% endif %}
{{ w.infos.id }} tag.{{ l }} {% if page['tagsValues']['val_'~l] %}
tag.val_{{ l }}{% endif %} {% if page['tagsValues']['pct_'~l] %}
tag.pct_{{ l }}{% endif %}
{{ w.infos.label }} {% if page['tagsValues']['val_'~l] %}
- valeur -{% endif %} {% if page['tagsValues']['pct_'~l] %}
- percentiles -{% endif %}
{% if w.value is not iterable %} {{ w.value|nl2br }} {% if page['tagsValues']['val_'~l] %}
{{ page['tagsValues']['val_'~l] }}{% endif %} {% if page['tagsValues']['pct_'~l] %}
{{ page['tagsValues']['pct_'~l] }}{% endif %} {% else %} - tableau de valeurs ({{ w.value|length }}) - {% endif %}
{% endblock %}