Loading module/Application/src/View/Helper/Intervenant/FeuilleDeRouteViewHelper.php +2 −3 Changes for module/Application/src/View/Helper/Intervenant/FeuilleDeRouteViewHelper.php: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -27,7 +27,6 @@ class FeuilleDeRouteViewHelper extends AbstractViewHelper use ContextServiceAwareTrait; /** * * @return self Loading Loading @@ -162,9 +161,11 @@ class FeuilleDeRouteViewHelper extends AbstractViewHelper $attributes['href'] = $etape->getUrl(); $res .= $tag('a', $attributes)->text($etape->getEtape()->getLibelle($role)); } else { if (!str_contains($attributes['class'] ?? '', 'btn')) { $attrs = ['title' => 'Vous n\'avez pas les droits requis pour accéder à cette étape.']; $res .= $tag('span', $attrs)->text($etape->getEtape()->getLibelle($role)); } } } elseif ($forceDisplay) { $attrs = []; $na = $this->getWhyNonAtteignable($etape); Loading Loading @@ -260,7 +261,6 @@ class FeuilleDeRouteViewHelper extends AbstractViewHelper if ($detailsLink instanceof TagViewHelper) { $content = $detailsLink->html($tag('span', ['class' => 'fas fa-eye'])->openClose() . ' ' . $content); $attrs['title'] .= ' (cliquez pour afficher le détail par composante)'; } $res .= $tag('span', $attrs)->html($content); Loading Loading @@ -334,7 +334,6 @@ class FeuilleDeRouteViewHelper extends AbstractViewHelper } else { $naDesc .= ' - ' . $ed->getWfEtapeDep()->getEtapePrec()->getDescNonFranchie() . "\n"; } } break; // pour ne pas répéter!!! } Loading Loading
module/Application/src/View/Helper/Intervenant/FeuilleDeRouteViewHelper.php +2 −3 Changes for module/Application/src/View/Helper/Intervenant/FeuilleDeRouteViewHelper.php: 2 added lines, 3 removed lines. Original line number Diff line number Diff line Loading @@ -27,7 +27,6 @@ class FeuilleDeRouteViewHelper extends AbstractViewHelper use ContextServiceAwareTrait; /** * * @return self Loading Loading @@ -162,9 +161,11 @@ class FeuilleDeRouteViewHelper extends AbstractViewHelper $attributes['href'] = $etape->getUrl(); $res .= $tag('a', $attributes)->text($etape->getEtape()->getLibelle($role)); } else { if (!str_contains($attributes['class'] ?? '', 'btn')) { $attrs = ['title' => 'Vous n\'avez pas les droits requis pour accéder à cette étape.']; $res .= $tag('span', $attrs)->text($etape->getEtape()->getLibelle($role)); } } } elseif ($forceDisplay) { $attrs = []; $na = $this->getWhyNonAtteignable($etape); Loading Loading @@ -260,7 +261,6 @@ class FeuilleDeRouteViewHelper extends AbstractViewHelper if ($detailsLink instanceof TagViewHelper) { $content = $detailsLink->html($tag('span', ['class' => 'fas fa-eye'])->openClose() . ' ' . $content); $attrs['title'] .= ' (cliquez pour afficher le détail par composante)'; } $res .= $tag('span', $attrs)->html($content); Loading Loading @@ -334,7 +334,6 @@ class FeuilleDeRouteViewHelper extends AbstractViewHelper } else { $naDesc .= ' - ' . $ed->getWfEtapeDep()->getEtapePrec()->getDescNonFranchie() . "\n"; } } break; // pour ne pas répéter!!! } Loading