diff --git a/core/templates/taskInfo.html b/core/templates/taskInfo.html
index f561c149..a22eb1e4 100644
--- a/core/templates/taskInfo.html
+++ b/core/templates/taskInfo.html
@@ -425,7 +425,8 @@
Warning! {{ warning.memoryleaksuspicion.message }}
×
- {% endif %}
+ {% endif %}+
+ {% if viewParams.MON_VO == 'ATLAS' %}
{% if info.split_rule %}
The split rule(s) has been changed for this task:
@@ -436,6 +437,7 @@ The split rule(s) has been changed for this task:
{% endif %}
+ {% endif %}
diff --git a/core/views.py b/core/views.py
index 4d78ce0f..2df4b17b 100644
--- a/core/views.py
+++ b/core/views.py
@@ -5835,11 +5835,11 @@ def taskInfo(request, jeditaskid=0):
if settings.DEPLOYMENT == 'ORACLE_ATLAS':
taskrec['slice'] = get_prod_slice_by_taskid(jeditaskid) if taskrec['tasktype'] == 'prod' else None
- connection = create_es_connection()
- split_rule = get_split_rule_info(connection, jeditaskid)
- if len(split_rule) > 0:
- info['split_rule'] = {}
- info['split_rule']['messages'] = split_rule
+ connection = create_es_connection()
+ split_rule = get_split_rule_info(connection, jeditaskid)
+ if len(split_rule) > 0:
+ info['split_rule'] = {}
+ info['split_rule']['messages'] = split_rule
# datetime type -> str in order to avoid encoding errors in template