display_name;
$use_current_user = isset($_GET['use-current-user']) ? $_GET['use-current-user'] : true;
?>
Artisans de
Artisans non attribués avec action requise
'to_actualize',
'status_class' => 'to-actualize',
'title' => 'En ligne > À actualiser',
'use_current_user' => $use_current_user,
'current_user_id' => $current_user->ID,
'not_found_message' => 'Aucun artisan à actualiser',
));
//===== SECTION : À CONTACTER =====//
get_template_part('template-parts/admin/artisans-section-group', null, array(
'status' => 'to_contact',
'status_class' => 'to-contact',
'title' => 'Nouveau > À contacter',
'use_current_user' => $use_current_user,
'current_user_id' => $current_user->ID,
'not_found_message' => 'Aucun artisan à contacter',
));
if (!$use_current_user) {
//===== SECTION : EN ATTENTE DE RETOUR =====//
// get_template_part('template-parts/admin/artisans-section-group', null, array(
// 'status' => 'waiting_feedback',
// 'status_class' => 'waiting-feedback',
// 'title' => 'En attente de retour',
// 'use_current_user' => $use_current_user,
// 'current_user_id' => $current_user->ID,
// 'not_found_message' => 'Aucun artisan en attente de retour',
// ));
//===== SECTION : EN COURS =====//
// get_template_part('template-parts/admin/artisans-section-group', null, array(
// 'status' => 'ongoing',
// 'status_class' => 'ongoing',
// 'title' => 'En cours',
// 'use_current_user' => $use_current_user,
// 'current_user_id' => $current_user->ID,
// 'not_found_message' => 'Aucun artisan en cours',
// ));
//===== SECTION : OK =====//
// get_template_part('template-parts/admin/artisans-section-group', null, array(
// 'status' => 'ok',
// 'status_class' => 'ok',
// 'title' => 'OK',
// 'use_current_user' => $use_current_user,
// 'current_user_id' => $current_user->ID,
// 'not_found_message' => 'Aucun artisan OK',
// ));
}
?>