{# # 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 : édition des paramètres agenda # # @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 %}

Gestion des agendas

{# Nav tabs #} {% if page.selectUser > 0 %}

Gestion de la grille horaire

{{ f.input ({ 'input' : { 'type' : 'hidden', 'name' : 'userID', 'value' : page.selectUser }, }) }}
{{ f.textarea ({ 'textarea' : { 'name' : 'configAgenda', 'placeholder' : 'entrer ici du yaml', 'class' : 'form-control reload-on-mod', 'autocomplete' : 'off', 'value' : page.configAgenda, 'add' : 'rows="31" style="font-family:monospace;"' }, 'label' : { 'position' : 'before', 'label' : "Paramétrage d'affichage de l'agenda (yaml)" } }) }}
{{ f.textarea ({ 'textarea' : { 'name' : 'configAgendaJs', 'class' : 'form-control', 'readonly' : 'readonly', 'value' : page.configAgendaJs, 'add' : 'rows="20" style="font-family:monospace;"' }, 'label' : { 'position' : 'before', 'label' : "Code JS résultant (altérable par l'utilisateur dans ses paramètres personnels)" } }) }}
{{ f.textarea ({ 'textarea' : { 'name' : 'configAgendaAd', 'placeholder' : 'code javascript complémentaire', 'class' : 'form-control', 'autocomplete' : 'off', 'value' : page.configAgendaAd, 'add' : 'rows="8" style="font-family:monospace;"' }, 'label' : { 'position' : 'before', 'label' : "Code JS additionnel (inaltérable par l'utilisateur)" } }) }}

Gestion des types de consultations

{{ f.textarea ({ 'textarea' : { 'name' : 'configTypesRdv', 'placeholder' : 'entrer ici du yaml', 'class' : 'form-control', 'autocomplete' : 'off', 'value' : page.typeRdv, 'add' : 'rows="20" style="font-family:monospace;"' }, 'label' : { 'position' : 'before', 'label' : 'Paramétrage des types de rendez-vous (format yaml - altérable par l\'utilisateur dans ses paramètres personnels)' } }) }}
{% else %}
Paramètre Valeur
agendaDistantLink {{ page.config.agendaDistantLink }}
agendaDistantPatientsOfTheDay {{ page.config.agendaDistantPatientsOfTheDay }}
agendaLocalPatientsOfTheDay {{ page.config.agendaLocalPatientsOfTheDay }}
agendaNumberForPatientsOfTheDay {{ page.config.agendaNumberForPatientsOfTheDay }}
administratifPeutAvoirAgenda {{ page.config.administratifPeutAvoirAgenda }}
{% endif %} {% endblock %}