Skip to content

Add petition "start" action to $isActivePetition boolean in default.php (CFM-31) #218

Merged
merged 1 commit into from Sep 27, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/templates/layout/default.php
Expand Up @@ -90,7 +90,7 @@
$bodyClasses = $controller_stripped . ' ' .$action_stripped;
$isCoSelectView = $controller_stripped == 'cos' && $action_stripped == 'select';
$isDashboard = $controller_stripped == 'dashboards' && $action_stripped == 'dashboard';
$isActivePetition = $vv_action == 'dispatch' || $vv_action == 'resume';
$isActivePetition = $vv_action == 'start' || $vv_action == 'dispatch' || $vv_action == 'resume';
$generateHomeLink = (!$isCoSelectView && !empty($vv_cur_co));

// add further body classes as needed
Expand Down