-
-
- {{ object.error_message }}
-
-
+{% if object.rendered_result_text %}
+
+
+
+
+
+ {{ object.rendered_result_text }}
+
+
+
-
-
-
-
- Error
-
-
- {{ object.error_message | truncatechars:16 }}
-
-
-
- {% endif %}
+
+
+ Result
+
+{% endif %}
+
+
+
+
{% for civ in object.outputs.all|sort_civs %}
-
{% include "components/partials/civ.html" with object=civ display_inline=True only %}
{% empty %}
- {% if not object.error_message %}
- Empty
- {% endif %}
+ Empty
{% endfor %}
diff --git a/app/grandchallenge/algorithms/templates/algorithms/job_status_detail.html b/app/grandchallenge/algorithms/templates/algorithms/job_status_detail.html
index 4bdcd70cb..5bd96b599 100644
--- a/app/grandchallenge/algorithms/templates/algorithms/job_status_detail.html
+++ b/app/grandchallenge/algorithms/templates/algorithms/job_status_detail.html
@@ -1,7 +1,90 @@
-
- {% if object.animate %}
-
- {% endif %}
- {{ object.get_status_display }}{% if object.status == object.SUCCESS and object.stderr %},
- with warnings{% endif %}
-
+{% if object.status == object.SUCCESS and object.stderr %}
+
+{% elif object.status == object.FAILURE and object.error_message %}
+
+{% else %}
+
+ {% if object.animate %}
+
+ {% endif %}
+ {{ object.get_status_display }}
+
+{% endif %}