diff --git a/app_new/gmao_config/routes.py b/app_new/gmao_config/routes.py index c695af8..76ad727 100644 --- a/app_new/gmao_config/routes.py +++ b/app_new/gmao_config/routes.py @@ -8,7 +8,8 @@ from app_new.extensions import db from app_new.outlook.models import GmaoContext gmao_config_bp = Blueprint('gmao_config', __name__, template_folder='templates') -LOOKBACK_MAX_HOURS = 24 * 365 +# Autoriser une synchronisation/analyse jusqu'à trois ans en arrière. +LOOKBACK_MAX_HOURS = 24 * 365 * 3 def _bounded_int(value, default, minimum=1, maximum=None): diff --git a/app_new/gmao_config/templates/gmao_config/index.html b/app_new/gmao_config/templates/gmao_config/index.html index c779871..8e794ea 100644 --- a/app_new/gmao_config/templates/gmao_config/index.html +++ b/app_new/gmao_config/templates/gmao_config/index.html @@ -250,7 +250,7 @@
- Maximum : 8 760 heures (365 jours).
@@ -307,7 +307,7 @@
- Maximum : 8 760 heures (365 jours).
diff --git a/app_new/templates/gmao_config/index.html b/app_new/templates/gmao_config/index.html index c779871..8e794ea 100644 --- a/app_new/templates/gmao_config/index.html +++ b/app_new/templates/gmao_config/index.html @@ -250,7 +250,7 @@
- Maximum : 8 760 heures (365 jours).
@@ -307,7 +307,7 @@
- Maximum : 8 760 heures (365 jours).