Commit 86a22af6 authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Correction de query et d'icon

parent 1e19c1fd
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -512,4 +512,11 @@ SELECT cp.id, d.code, d.lib, d.ordre
FROM d
JOIN unicaen_privilege_categorie cp ON cp.CODE = 'agentaffichage';

-- MACRO ---------------------------------------------------------------------------

INSERT INTO unicaen_renderer_macro (code, description, variable_name, methode_name) VALUES
('AGENT#denomination', null, 'agent', 'getDenomination'),
('AGENT#Prenom', null, 'agent', 'toStringPrenom'),
('AGENT#NomUsage', null, 'agent', 'toStringNomUsage'),
('AGENT#NomFamille', null, 'agent', 'toStringNomFamille');
+13 −1
Original line number Diff line number Diff line
@@ -1349,6 +1349,18 @@ INSERT INTO unicaen_renderer_template (code, description, document_type, documen

-- TEMPLATE - TEXTE ---------------------------------------------------------------------

INSERT INTO public.unicaen_renderer_template (code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES ('PARCOURS_ENTREE_TEXTE', '<p>Texte descriptif du parcours d''entrée</p>', 'texte', '...', e'<p>Ceci est le texte d\'introduction au parcours d\'entrée à la formation</p>
INSERT INTO unicaen_renderer_template (code, description, document_type, document_sujet, document_corps, document_css, namespace) VALUES ('PARCOURS_ENTREE_TEXTE', '<p>Texte descriptif du parcours d''entrée</p>', 'texte', '...', e'<p>Ceci est le texte d\'introduction au parcours d\'entrée à la formation</p>
<p> </p>
<p>&gt;&gt; ICI LIEN VERS MOODLE ET LE PARCOURS DE L\'AGENT</p>', null, 'Formation\Provider\Template');

-- MACRO --------------------------------------------------------------------------------

-- MACROS A PROPOS DES SESSIONS
INSERT INTO unicaen_renderer_macro (code, description, variable_name, methode_name) VALUES
('SESSION#duree', 'retourne la durée en heure de la session', 'session', 'getDuree'),
('SESSION#formateurs', 'retourne la liste des formateurs sous la forme d un tableau', 'session', 'getListeFormateurs'),
('SESSION#identification', 'retourne l identifiant unique de la session sous la forme <em>ACTION/SESSION</em>', 'session', 'getInstanceCode'),
('SESSION#libelle', 'retourne le libellé de la session', 'session', 'getInstanceLibelle'),
('SESSION#lieu', '', 'session', 'getLieuString'),
('SESSION#periode', 'retourne la période sous la forme <em>DEBUT au FIN</em>', 'session', 'getPeriode'),
('SESSION#seances', '', 'session', 'getListeJournees');
+2 −2
Original line number Diff line number Diff line
@@ -173,13 +173,13 @@ ksort($groupes);
<!--                                            href="--><?php //echo $this->url('agent/valider-element', ['type' => "AGENT_FORMATION", 'id' => $entite->getId()], [], true); ?><!--"-->
<!--                                            class="ajax-modal" data-event="modification"-->
<!--                                    >-->
<!--                                        <span class="icon validation-do" title="Valider la formation"></span></a>-->
<!--                                        <span class="icon icon-checked" title="Valider la formation"></span></a>-->
<!--                                --><?php //else: ?>
<!--                                    <a-->
<!--                                        --><?php ///** @see \Application\Controller\AgentController::revoquerElementAction() */ ?>
<!--                                            href="--><?php //echo $this->url('agent/revoquer-element', ['validation' => $entite->getValidation()->getId()], ['query' => ['retour' => $options['retour']]], true); ?><!--"-->
<!--                                    >-->
<!--                                        <span class="icon validation-undo" title="Révoquer la validation associée à la formation"></span></a>-->
<!--                                        <span class="icon icon-unchecked" title="Révoquer la validation associée à la formation"></span></a>-->
<!--                                --><?php //endif; ?>
                            <?php endif; ?>
                        <?php endif; ?>
+2 −2
Original line number Diff line number Diff line
@@ -200,13 +200,13 @@ ksort($groupes);
<!--                                        href="--><?php //echo $this->url('agent/valider-element', ['type' => "AGENT_APPLICATION", 'id' => $entite->getId()], [], true); ?><!--"-->
<!--                                        class="ajax-modal" data-event="modification"-->
<!--                                >-->
<!--                                    <span class="icon validation-do" title="Valider l'application"></span></a>-->
<!--                                    <span class="icon icon-checked" title="Valider l'application"></span></a>-->
<!--                            --><?php //else: ?>
<!--                                <a-->
<!--                                    --><?php ///** @see \Application\Controller\AgentController::revoquerElementAction() */ ?>
<!--                                        href="--><?php //echo $this->url('agent/revoquer-element', ['validation' => $entite->getValidation()->getId()], ['query' => ['retour' => $options['retour']]], true); ?><!--"-->
<!--                                >-->
<!--                                    <span class="icon validation-undo" title="Dévalider l'application"></span></a>-->
<!--                                    <span class="icon icon-unchecked" title="Dévalider l'application"></span></a>-->
<!--                            --><?php //endif; ?>
                        <?php endif; ?>
                    <?php endif; ?>
+2 −2
Original line number Diff line number Diff line
@@ -206,13 +206,13 @@ ksort($groupes);
<!--                                            href="--><?php //echo $this->url('agent/valider-element', ['type' => "AGENT_COMPETENCE", 'id' => $entite->getId()], [], true); ?><!--"-->
<!--                                            class="ajax-modal" data-event="modification"-->
<!--                                    >-->
<!--                                        <span class="icon validation-do" title="Valider la compétence"></span></a>-->
<!--                                        <span class="icon icon-checked" title="Valider la compétence"></span></a>-->
<!--                                --><?php //else: ?>
<!--                                    <a-->
<!--                                        --><?php ///** @see \Application\Controller\AgentController::revoquerElementAction() */ ?>
<!--                                            href="--><?php //echo $this->url('agent/revoquer-element', ['validation' => $entite->getValidation()->getId()], ['query' => ['retour' => $options['retour']]], true); ?><!--"-->
<!--                                    >-->
<!--                                        <span class="icon validation-undo" title="Dévalider la compétence"></span></a>-->
<!--                                        <span class="icon icon-unchecked" title="Dévalider la compétence"></span></a>-->
<!--                                --><?php //endif; ?>
                            <?php endif; ?>
                        <?php endif; ?>
Loading