Commit 26caf3ed by Félicie

texts updated

parent e0e9dc85
Pipeline #1999 failed with stage
in 1 minute 27 seconds
...@@ -340,3 +340,13 @@ body { ...@@ -340,3 +340,13 @@ body {
.no_content_title { .no_content_title {
margin-bottom: 1.5rem; margin-bottom: 1.5rem;
} }
/* - block_actions_for_attached_people is true or false */
.attached-blocked {
display: none;
}
.attached-unblocked {
display: none;
}
...@@ -17,6 +17,8 @@ function init_faq() { ...@@ -17,6 +17,8 @@ function init_faq() {
$("#helper_unsubscribe_form_link_btn").prop("href", helper_unsubscribe_form_link); $("#helper_unsubscribe_form_link_btn").prop("href", helper_unsubscribe_form_link);
$("#request_form_link_btn2").prop("href", request_form_link); $("#request_form_link_btn2").prop("href", request_form_link);
$("#request_form_link_btn").prop("href", request_form_link); $("#request_form_link_btn").prop("href", request_form_link);
display_messages_for_attached_people();
} }
$(document).on('click', "#shift_exchange_btn", () => { $(document).on('click', "#shift_exchange_btn", () => {
......
...@@ -351,3 +351,12 @@ $(document).ready(function() { ...@@ -351,3 +351,12 @@ $(document).ready(function() {
}; };
})(jQuery, 'smartresize'); })(jQuery, 'smartresize');
function display_messages_for_attached_people() {
if (block_actions_for_attached_people === "False") {
$(".attached-unblocked").show();
} else {
$(".attached-blocked").show();
};
};
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