{# # 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 groupe # # @author Bertrand Boutillier #} {% extends "page.html.twig" %} {% import "macroForm.html.twig" as f %} {% block title %} {{ page.groupeData.groupname }} {% endblock %} {% block jsFiles %} {{ parent() }} {% if config.optionGeActiverRegistres == 'true' %} {% endif %} {% endblock %} {% block jsEmbed %} {{ parent() }} $(document).ready(function() { if ($('#bodyTabRelationGroupeRegistres').length) { setTimeout(getRelationsGroupeRegistresTab({{ page.groupeDataID }}), 200); } if ($('#bodyTabRelationGroupePraticiens').length) { setTimeout(getRelationsGroupePraticiensTab({{ page.groupeDataID }}), 200); } }); {% endblock %} {% block body %} {% if page.groupeData.dossierType =="deleted" %} {% endif %}

{{ page.groupeData.groupname }}

Informations groupe
{% if page.userPositionInGroup == 'admin' %} {% endif %}
Informations sur ce groupe de praticiens
{% for k,label in page.groupeDataLabel %} {% endfor %}
{{ label }}{% if k == 'country' %}{{ page.groupeData['country_label'] }}{% else %}{{ page.groupeData[k] }}{% endif %}
Praticiens
{% if page.userPositionInGroup == 'admin' %} {% endif %}
Praticiens du groupe {% if page.userPositionInGroup not in ['admin', 'membre'] %}
Vous n'êtes pas autorisé à consulter cette liste. {% endif %} {% if page.userPositionInGroup == 'admin' %}
{{ f.select ({ 'select' : { 'class' : 'toStatutRelation', 'values' : page.preRelationPraticienGroupe.formValues, 'valueDefaut' : el.value.preValue, 'autocomplete' : 'off' } }) }}
{% if config.droitDossierPeutCreerPraticien == 'true' %} Nouveau praticien {% endif %}
{% endif %}
{% if page.userPositionInGroup in ['admin', 'membre'] %}
{% endif %}
{% if config.optionGeActiverRegistres == 'true' %}
Registres
{% if config.droitRegistrePeutGererGroupes == 'true' %} {% endif %}
Registres autorisés pour ce groupe
{% if config.droitRegistrePeutGererGroupes == 'true' %}
{{ f.select ({ 'select' : { 'class' : 'toStatutRelation', 'values' : page.preRelationGroupeRegistre.formValues, 'valueDefaut' : el.value.preValue, 'autocomplete' : 'off' } }) }}
{% endif %}
{% endif %}
{% endblock %}