Commit d307779f by Thibault Grandjean

Add gone status

parent 38643bd9
Pipeline #1653 passed with stage
in 1 minute 31 seconds
...@@ -16,7 +16,8 @@ const possible_cooperative_state = { ...@@ -16,7 +16,8 @@ const possible_cooperative_state = {
alert: "En alerte", alert: "En alerte",
up_to_date: "À jour", up_to_date: "À jour",
unsubscribed: "Désinscrit.e des créneaux", unsubscribed: "Désinscrit.e des créneaux",
delay: "En délai" delay: "En délai",
gone: "Parti.e"
}; };
/* - Data */ /* - Data */
...@@ -177,7 +178,7 @@ function init_my_info_data() { ...@@ -177,7 +178,7 @@ function init_my_info_data() {
$(".delay_date_stop").text(f_date_delay_stop); $(".delay_date_stop").text(f_date_delay_stop);
$(".delay_date_stop_container").show(); $(".delay_date_stop_container").show();
} else if (partner_data.cooperative_state === 'unsubscribed') { } else if (partner_data.cooperative_state === 'unsubscribed' || partner_data.cooperative_state === 'gone') {
$(".member_shift_name").text('X'); $(".member_shift_name").text('X');
$(".unsuscribed_form_link") $(".unsuscribed_form_link")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment