Commit 26caf3ed by Félicie

texts updated

parent e0e9dc85
Pipeline #1999 failed with stage
in 1 minute 27 seconds
......@@ -340,3 +340,13 @@ body {
.no_content_title {
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() {
$("#helper_unsubscribe_form_link_btn").prop("href", helper_unsubscribe_form_link);
$("#request_form_link_btn2").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", () => {
......
......@@ -350,4 +350,13 @@ $(document).ready(function() {
return fn ? this.bind('resize', debounce(fn)) : this.trigger(sr);
};
})(jQuery, 'smartresize');
\ No newline at end of file
})(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