From cf59ea309bb96b18ac9c2834a7d59a51190bf593 Mon Sep 17 00:00:00 2001 From: Navan Chauhan Date: Thu, 10 Sep 2020 12:41:40 +0530 Subject: [PATCH] fixed pdf link, broken in previous commit Also fixed spelling mistake in job-status form --- app/templates/job_status.html | 2 +- app/views.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/job_status.html b/app/templates/job_status.html index 1536f8f..97ce9b3 100644 --- a/app/templates/job_status.html +++ b/app/templates/job_status.html @@ -23,7 +23,7 @@ } -

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

+

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.

AR Model

diff --git a/app/views.py b/app/views.py index 698d621..1cbc3ec 100644 --- a/app/views.py +++ b/app/views.py @@ -127,8 +127,8 @@ def status(): done="Queued" if protein_name == None: protein_name = r[6] - - PDFReport = "./app/static/uploads/reports/" + str(jobID) + ".pdf" + + PDFReport = "/static/uploads/reports/" + str(jobID) + ".pdf" AndroidModel = "/static/uploads/3DModels/" + str(jobID) + ".gltf" iOSModel = "/static/uploads/3DModels/" + str(jobID) + ".usdz"