Commit 9978551e authored by Jean-Philippe Metivier's avatar Jean-Philippe Metivier
Browse files

Le manque de justificatifs de soutenances n'est plus bloquant il s'agit plus que d'un warning

parent d4de47c4
Loading
Loading
Loading
Loading
+2 −3
Changes for module/Soutenance/view/soutenance/proposition/proposition.phtml: 2 added lines, 3 removed lines.
Original line number Diff line number Diff line
@@ -35,9 +35,8 @@ use Soutenance\Provider\Privilege\PropositionPrivileges;
 * @var $FORMULAIRE_DEMANDE_CONFIDENTIALITE
 */

$a = $this->isAllowed($these, PropositionPrivileges::PROPOSITION_MODIFIER);
$b = $this->isAllowed($these, PropositionPrivileges::PROPOSITION_MODIFIER_GESTION);
$canModifier = ($this->isAllowed($these, PropositionPrivileges::PROPOSITION_MODIFIER) OR $this->isAllowed($these, PropositionPrivileges::PROPOSITION_MODIFIER_GESTION));
$canModifierJustificatif = ($this->isAllowed($these, PropositionPrivileges::PROPOSITION_VISUALISER) AND $proposition->getEtat() === Etat::EN_COURS);

$this->headTitle("Proposition de soutenance");
?>
@@ -90,7 +89,7 @@ $this->headTitle("Proposition de soutenance");
<div id="JUSTIFICATIF"></div>
<?php echo $this->partial('partial/fichiers', [
        'proposition' => $proposition,
        'canModifier' => $canModifier,
        'canModifier' => $canModifierJustificatif,
        'justificatifs' => $justificatifs,
        'justificatifsOk' => $justificatifsOk,
        'urlFichierThese' => $urlFichierThese,