diff --git a/docs/ecolyo-agent/Functionalities/custom_popup.md b/docs/ecolyo-agent/Functionalities/custom_popup.md index 8720f7371a59e54d75ed07059041abb546518827..a66df484880d04433ddd5ef4ead2f5c976abb3cd 100644 --- a/docs/ecolyo-agent/Functionalities/custom_popup.md +++ b/docs/ecolyo-agent/Functionalities/custom_popup.md @@ -1,16 +1,21 @@ # Custom Popup -The custom popup feature sends a custom message to every instance. This message is displayed once a day. This setting can be set in the settings tab of Ecolyo agent. +The custom popup feature sends a custom message to every instance. This popup is displayed once per day. -It can be customized with : +The modal can be customized with : -- a toggle -- a title -- an image (from the ecogestures library, or a standard bullhorn) -- a description (250char max) - a duration +- an image (from the ecogestures library, or defaults to bullhorn) +- a title +- a description If a message is active, the duration is displayed in this page ex : "Temps d'activation restant : 0 jour, 1 heure, 59 minutes, 0 seconde" + +:::danger Activation rule +If [partners issues](./partners_issues.md) are enabled, the partner issues cannot be enable to avoid multiple popups. +::: + +The settings have to be saved with the button "Sauvegarder". diff --git a/docs/ecolyo-agent/Functionalities/partners_issues.md b/docs/ecolyo-agent/Functionalities/partners_issues.md index 0d5e83e682798c2be47294bd4f92703b9ab7f6a4..96ecc9fd2e85918a90e2fba22ba6168ff3908022 100644 --- a/docs/ecolyo-agent/Functionalities/partners_issues.md +++ b/docs/ecolyo-agent/Functionalities/partners_issues.md @@ -1,4 +1,12 @@ # Partners issues This section allow the admin to activate alerts in the ecolyo app when a partners API is down. -Admin has to activate the modal switch AND at least one fluid switch to make it work. He also has to set the switches to off position manually when the concerned APIs are back to normal. +Admin has to activate at least one fluid switch to make it work. He also has to set the switches to off position manually when the concerned APIs are back to normal. + +This modal is shown to the user when visiting the fluid page. + +:::danger Activation rule +If a [custom popup](./custom_popup.md) is enabled, the partner issues cannot be enable to avoid multiple popups. +::: + +The modals are showed once per day per fluid.