From 16cd0e78e9ea6dcb960816db138640d047b89bb7 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Thu, 24 Sep 2020 16:31:04 +0530 Subject: [PATCH] added check if file exists to prevent 404 --- app/templates/job_status.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/app/templates/job_status.html b/app/templates/job_status.html index 446d46a..19dcaaa 100644 --- a/app/templates/job_status.html +++ b/app/templates/job_status.html @@ -25,8 +25,11 @@ } -

A detailed zip file containing this PDF, along with all supporting files (configuration, pictures, protein-ligands e.t.c) has been sent to your email.

+

A detailed zip file containing the report PDF, along with all supporting files (configuration, pictures, protein-ligands e.t.c) has been sent to your email.

+{% endif %} + + {% if model == 'exists' %}

AR Model

@@ -34,16 +37,17 @@
+ {% endif %} - + {% if report == 'exists' %}

PDF Report

+ {% endif %} -{% endif %}