diff --git a/htdocs/projet/card.php b/htdocs/projet/card.php index cc3a97fac5b..5817f44db65 100644 --- a/htdocs/projet/card.php +++ b/htdocs/projet/card.php @@ -970,7 +970,16 @@ else { if ($action != "edit" ) { - // Modify + + // Create event + if ($conf->agenda->enabled && ! empty($conf->global->MAIN_ADD_EVENT_ON_ELEMENT_CARD)) // Add hidden condition because this is not a + // "workflow" action so should appears somewhere else on + // page. + { + print '
'; + } + + // Modify if ($object->statut != 2 && $user->rights->projet->creer) { if ($userWrite > 0)