In this PR a modal component was created to accept new TOS. The logic of this modal was added to the footer template. This component is displayed in the control panel and cannot continue until new TOS are accepted. It is saved in a new variable in the user preferences, so it is not necessary to accept it when the user logs in again.The modal allows old users to know the updated terms and conditions of the platform.
Modal text can be changed from site configuration.
We have updated our terms of service. We recommend that you review them carefully. If you continue to use the main Nau site, you do so under the new terms.
"
}
In case there is a new update, the name of the modal preference should be changed and it should go like the example. The only thing that should be changed is the date
Modal to accept new tos
In this PR a modal component was created to accept new TOS. The logic of this modal was added to the footer template. This component is displayed in the control panel and cannot continue until new TOS are accepted. It is saved in a new variable in the user preferences, so it is not necessary to accept it when the user logs in again.The modal allows old users to know the updated terms and conditions of the platform.
Modal text can be changed from site configuration.
"MODAL_TOS":{ "modal_force_display":true, "modal_tos_name_preference":"update_tos_2021_06_01", "modal_tos_text":"
We have updated our terms of service. We recommend that you review them carefully. If you continue to use the main Nau site, you do so under the new terms.
" } In case there is a new update, the name of the modal preference should be changed and it should go like the example. The only thing that should be changed is the date@felipemontoya, @jignaciopm, @MoisesGSalas, @andrey-canon, @mariajgrimaldi, @magajh