{# # This file is part of MedShakeEHR. # # Copyright (c) 2020 # 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 > people : voir les infos sur un registre # # @author Bertrand Boutillier #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %} {{ page.registreData.registryname }} {% endblock %} {% block jsFiles %} {{ parent() }} {% if config.optionGeActiverGroupes == 'true' %} {% endif %} {% endblock %} {% block jsEmbed %} {{ parent() }} $(document).ready(function() { if ($('#bodyTabRelationRegistrePraticiens').length) setTimeout(getRelationsRegistrePraticiensTab({{ page.registreDataID }}), 200); if ($('#bodyTabRelationRegistreGroupes').length) setTimeout(getRelationsRegistreGroupesTab({{ page.registreDataID }}), 200); }); {% endblock %} {% block body %} {% if page.registreData.dossierType =="deleted" %} {% endif %}

{{ page.registreData.registryname }}

Informations registre
{% if config.droitRegistrePeutCreerRegistre == 'true' %} {% endif %}
Informations sur ce registre
{% for k,label in page.registreDataLabel %} {% endfor %}
{{ label }}{% if k == 'country' %}{{ page.registreData['country_label'] }}{% else %}{{ page.registreData[k] }}{% endif %}
{% if config.optionGeActiverGroupes == 'true' %}
Administrateurs
{% if config.droitRegistrePeutGererAdministrateurs == 'true' %} {% endif %} {% if user.rank == 'admin' %} {% endif %}
Administrateurs du registre {% if config.droitRegistrePeutGererAdministrateurs == 'true' %}
{{ f.select ({ 'select' : { 'class' : 'toStatutRelation', 'values' : page.preRelationRegistrePraticien.formValues, 'valueDefaut' : el.value.preValue, 'autocomplete' : 'off' } }) }}
{% if config.droitDossierPeutCreerPraticien == 'true' %} Nouvel utilisateur {% endif %}
{% endif %}
{% endif %}
Groupes
{% if config.droitRegistrePeutGererGroupes == 'true' %} {% endif %}
Groupes participant au registre {% if config.droitGroupePeutVoirTousGroupes != 'true' %} (Vous n'êtes autorisé à voir que les groupes auxquels vous êtes intégré){% endif %} {% if config.droitRegistrePeutGererGroupes == 'true' %}
{{ f.select ({ 'select' : { 'class' : 'toStatutRelation', 'values' : page.preRelationRegistreGroupe.formValues, 'valueDefaut' : el.value.preValue, 'autocomplete' : 'off' } }) }}
{% if config.droitGroupePeutCreerGroupe == 'true' %} Nouveau groupe {% endif %}
{% endif %}
{% endblock %}