Commit 993f9584 by François C.

Merge branch '1827-handle-gone-status' into 'dev_cooperatic'

1827 handle gone status

See merge request !94
parents a4b006ce d307779f
Pipeline #1659 passed with stage
in 1 minute 32 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