Loading view/unicaen-indicateur/categorie/index.phtml +7 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,13 @@ $canTableaux = $this->isAllowed(TableaudebordPrivileges::getResourceId(Tableaude <?php foreach ($categories as $categorie) : ?> <tr> <td> <?php echo $categorie->getCode(); ?> </td> <td> <?php echo $categorie->getLibelle(); ?> </td> <td> <?php echo $categorie->getLibelle(); ?> <?php if ($categorie->getDescription()) : ?> <small> <?php echo $categorie->getDescription(); ?> </small> <?php endif; ?> </td> <td> <?php echo count($categorie->getIndicateurs()); ?> </td> <td class="action"> <?php if ($canAfficher) : ?> Loading view/unicaen-indicateur/default/default-form.phtml +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ use Laminas\Form\Form; browser_spellcheck : true, branding: false, menu: {}, menubar: false, body_id: 'description', setup: function (editor) { editor.on("focusout", function () { Loading view/unicaen-indicateur/indicateur/index.phtml +22 −18 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ $canCategories = $this->isAllowed(IndicateurPrivileges::getResourceId(Indicateur <th> Titre </th> <th> Entity </th> <th> #Abonnement </th> <th> Action </th> <th class="action"> Action </th> </tr> </thead> <tbody> Loading @@ -90,8 +90,10 @@ $canCategories = $this->isAllowed(IndicateurPrivileges::getResourceId(Indicateur <td> <?php echo $indicateur->getTitre(); ?> <?php if ($indicateur->getDescription()) : ?> <span class="icon icon-information" data-bs-toggle='tooltip' data-bs-html='true' title="<?php echo $indicateur->getDescription(); ?> "></span> <br> <small> <?php echo $indicateur->getDescription(); ?> </small> <?php endif; ?> </td> <td> <?php echo $indicateur->getEntity(); ?> </td> Loading @@ -109,31 +111,33 @@ $canCategories = $this->isAllowed(IndicateurPrivileges::getResourceId(Indicateur </a> <?php endif;?> </td> <td> <td class="action"> <?php if ($canVoir): ?> <?php /** @see IndicateurController::afficherAction() */?> <a href="<?php echo $this->url("indicateur/afficher", ['indicateur' => $indicateur->getId()], [], true); ?>"> <span class="icon icon-voir" title="Visualiser l'indicateur"></span></a> <?php else : ?> <span class="icon icon-voir" style="color:lightgray"></span> <a href="<?php echo $this->url("indicateur/afficher", ['indicateur' => $indicateur->getId()], [], true); ?>" class="action secondary" > <span class="icon icon-voir"></span> Afficher</a> <?php endif; ?> <?php if ($canEditer): ?> <br> <?php /** @see IndicateurController::modifierAction() */?> <a href="<?php echo $this->url("indicateur/modifier", ['indicateur' => $indicateur->getId()], [], true); ?>" > <span class="icon icon-editer" title="Modifier l'indicateur"></span></a> <?php else : ?> <span class="icon icon-editer" style="color:lightgray"></span> <a href="<?php echo $this->url("indicateur/modifier", ['indicateur' => $indicateur->getId()], [], true); ?>" class="action primary" > <span class="icon icon-editer"></span> Modifier </a> <?php endif; ?> <?php if ($canDetruire): ?> <br> <?php /** @see IndicateurController::detruireAction() */?> <a href="<?php echo $this->url("indicateur/detruire", ['indicateur' => $indicateur->getId()], [], true); ?>" class="ajax-modal" data-event="modification" class="ajax-modal action danger" data-event="modification" > <span class="text-danger icon icon-unchecked" title="Détruire l'indicateur"></span></a> <?php else : ?> <span class="icon icon-unchecked" style="color:lightgray"></span> <span class="icon icon-unchecked"></span> Supprimer </a> <?php endif; ?> Loading view/unicaen-indicateur/tableau-de-bord/index.phtml +22 −10 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ $canIndicateurs = $this->isAllowed(IndicateurPrivileges::getResourceId(Indicateu <tr> <th>Titre</th> <th>#indicateurs</th> <th>Action</th> <th class="action">Action</th> </tr> </thead> <tbody> Loading @@ -66,27 +66,39 @@ $canIndicateurs = $this->isAllowed(IndicateurPrivileges::getResourceId(Indicateu <td> <?php echo $tableau->getTitre(); ?> <?php if ($tableau->getDescription()) : ?> <span class="icon icon-information" data-bs-toggle="tooltip" data-bs-html="true" title="<?php echo $tableau->getDescription(); ?>"></span> <br> <small> <?php echo $tableau->getDescription(); ?> </small> <?php endif; ?> </td> <td> <?php echo count($tableau->getIndicateurs()); ?> </td> <td> <td class="action"> <?php if ($canAfficher) : ?> <a href="<?php echo $this->url('tableau-de-bord/afficher', ['tableau-de-bord' => $tableau->getId()], [], true); ?>"> <span class="icon icon-voir" title="Afficher le tableau de bord"></span></a> <a href="<?php echo $this->url('tableau-de-bord/afficher', ['tableau-de-bord' => $tableau->getId()], [], true); ?>" class="action secondary" > <span class="icon icon-voir" title="Afficher le tableau de bord"></span> Afficher </a> <?php endif; ?> <?php if ($canModifier) : ?> <br> <a href="<?php echo $this->url('tableau-de-bord/modifier', ['tableau-de-bord' => $tableau->getId()], [], true); ?>" class="ajax-modal" data-event="modification"> <span class="icon icon-editer" title="Modifier le tableau de bord"></span></a> class="ajax-modal action primary" data-event="modification"> <span class="icon icon-editer" title="Modifier le tableau de bord"></span> Modifier </a> <?php endif; ?> <?php if ($canSupprimer) : ?> <br> <a href="<?php echo $this->url('tableau-de-bord/supprimer', ['tableau-de-bord' => $tableau->getId()], [], true); ?>" class="ajax-modal" data-event="modification"> <span class="icon icon-unchecked text-danger"></span></a> class="ajax-modal action danger" data-event="modification"> <span class="icon icon-unchecked"></span> Supprimer </a> <?php endif; ?> </td> </tr> Loading Loading
view/unicaen-indicateur/categorie/index.phtml +7 −1 Original line number Diff line number Diff line Loading @@ -63,7 +63,13 @@ $canTableaux = $this->isAllowed(TableaudebordPrivileges::getResourceId(Tableaude <?php foreach ($categories as $categorie) : ?> <tr> <td> <?php echo $categorie->getCode(); ?> </td> <td> <?php echo $categorie->getLibelle(); ?> </td> <td> <?php echo $categorie->getLibelle(); ?> <?php if ($categorie->getDescription()) : ?> <small> <?php echo $categorie->getDescription(); ?> </small> <?php endif; ?> </td> <td> <?php echo count($categorie->getIndicateurs()); ?> </td> <td class="action"> <?php if ($canAfficher) : ?> Loading
view/unicaen-indicateur/default/default-form.phtml +1 −0 Original line number Diff line number Diff line Loading @@ -23,6 +23,7 @@ use Laminas\Form\Form; browser_spellcheck : true, branding: false, menu: {}, menubar: false, body_id: 'description', setup: function (editor) { editor.on("focusout", function () { Loading
view/unicaen-indicateur/indicateur/index.phtml +22 −18 Original line number Diff line number Diff line Loading @@ -79,7 +79,7 @@ $canCategories = $this->isAllowed(IndicateurPrivileges::getResourceId(Indicateur <th> Titre </th> <th> Entity </th> <th> #Abonnement </th> <th> Action </th> <th class="action"> Action </th> </tr> </thead> <tbody> Loading @@ -90,8 +90,10 @@ $canCategories = $this->isAllowed(IndicateurPrivileges::getResourceId(Indicateur <td> <?php echo $indicateur->getTitre(); ?> <?php if ($indicateur->getDescription()) : ?> <span class="icon icon-information" data-bs-toggle='tooltip' data-bs-html='true' title="<?php echo $indicateur->getDescription(); ?> "></span> <br> <small> <?php echo $indicateur->getDescription(); ?> </small> <?php endif; ?> </td> <td> <?php echo $indicateur->getEntity(); ?> </td> Loading @@ -109,31 +111,33 @@ $canCategories = $this->isAllowed(IndicateurPrivileges::getResourceId(Indicateur </a> <?php endif;?> </td> <td> <td class="action"> <?php if ($canVoir): ?> <?php /** @see IndicateurController::afficherAction() */?> <a href="<?php echo $this->url("indicateur/afficher", ['indicateur' => $indicateur->getId()], [], true); ?>"> <span class="icon icon-voir" title="Visualiser l'indicateur"></span></a> <?php else : ?> <span class="icon icon-voir" style="color:lightgray"></span> <a href="<?php echo $this->url("indicateur/afficher", ['indicateur' => $indicateur->getId()], [], true); ?>" class="action secondary" > <span class="icon icon-voir"></span> Afficher</a> <?php endif; ?> <?php if ($canEditer): ?> <br> <?php /** @see IndicateurController::modifierAction() */?> <a href="<?php echo $this->url("indicateur/modifier", ['indicateur' => $indicateur->getId()], [], true); ?>" > <span class="icon icon-editer" title="Modifier l'indicateur"></span></a> <?php else : ?> <span class="icon icon-editer" style="color:lightgray"></span> <a href="<?php echo $this->url("indicateur/modifier", ['indicateur' => $indicateur->getId()], [], true); ?>" class="action primary" > <span class="icon icon-editer"></span> Modifier </a> <?php endif; ?> <?php if ($canDetruire): ?> <br> <?php /** @see IndicateurController::detruireAction() */?> <a href="<?php echo $this->url("indicateur/detruire", ['indicateur' => $indicateur->getId()], [], true); ?>" class="ajax-modal" data-event="modification" class="ajax-modal action danger" data-event="modification" > <span class="text-danger icon icon-unchecked" title="Détruire l'indicateur"></span></a> <?php else : ?> <span class="icon icon-unchecked" style="color:lightgray"></span> <span class="icon icon-unchecked"></span> Supprimer </a> <?php endif; ?> Loading
view/unicaen-indicateur/tableau-de-bord/index.phtml +22 −10 Original line number Diff line number Diff line Loading @@ -57,7 +57,7 @@ $canIndicateurs = $this->isAllowed(IndicateurPrivileges::getResourceId(Indicateu <tr> <th>Titre</th> <th>#indicateurs</th> <th>Action</th> <th class="action">Action</th> </tr> </thead> <tbody> Loading @@ -66,27 +66,39 @@ $canIndicateurs = $this->isAllowed(IndicateurPrivileges::getResourceId(Indicateu <td> <?php echo $tableau->getTitre(); ?> <?php if ($tableau->getDescription()) : ?> <span class="icon icon-information" data-bs-toggle="tooltip" data-bs-html="true" title="<?php echo $tableau->getDescription(); ?>"></span> <br> <small> <?php echo $tableau->getDescription(); ?> </small> <?php endif; ?> </td> <td> <?php echo count($tableau->getIndicateurs()); ?> </td> <td> <td class="action"> <?php if ($canAfficher) : ?> <a href="<?php echo $this->url('tableau-de-bord/afficher', ['tableau-de-bord' => $tableau->getId()], [], true); ?>"> <span class="icon icon-voir" title="Afficher le tableau de bord"></span></a> <a href="<?php echo $this->url('tableau-de-bord/afficher', ['tableau-de-bord' => $tableau->getId()], [], true); ?>" class="action secondary" > <span class="icon icon-voir" title="Afficher le tableau de bord"></span> Afficher </a> <?php endif; ?> <?php if ($canModifier) : ?> <br> <a href="<?php echo $this->url('tableau-de-bord/modifier', ['tableau-de-bord' => $tableau->getId()], [], true); ?>" class="ajax-modal" data-event="modification"> <span class="icon icon-editer" title="Modifier le tableau de bord"></span></a> class="ajax-modal action primary" data-event="modification"> <span class="icon icon-editer" title="Modifier le tableau de bord"></span> Modifier </a> <?php endif; ?> <?php if ($canSupprimer) : ?> <br> <a href="<?php echo $this->url('tableau-de-bord/supprimer', ['tableau-de-bord' => $tableau->getId()], [], true); ?>" class="ajax-modal" data-event="modification"> <span class="icon icon-unchecked text-danger"></span></a> class="ajax-modal action danger" data-event="modification"> <span class="icon icon-unchecked"></span> Supprimer </a> <?php endif; ?> </td> </tr> Loading