From ab71b34b97f3f1eee52b5688f41644541535f281 Mon Sep 17 00:00:00 2001 From: Frederick Muriuki Muriithi Date: Mon, 5 Feb 2024 07:00:01 +0300 Subject: Do general bundle validation and show errors * Display any and all errors on the UI * Move `validate_bundle` to QC module and refactor to use `missing_files` --- qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html | 6 +++--- qc_app/templates/rqtl2/upload-rqtl2-bundle-step-02.html | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'qc_app/templates/rqtl2') diff --git a/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html b/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html index 6491e6b..64fcdcd 100644 --- a/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html +++ b/qc_app/templates/rqtl2/upload-rqtl2-bundle-step-01.html @@ -1,5 +1,5 @@ {%extends "base.html"%} -{%from "flash_messages.html" import flash_messages%} +{%from "flash_messages.html" import flash_all_messages%} {%block title%}Upload R/qtl2 Bundle{%endblock%} @@ -16,12 +16,12 @@ - {{flash_messages("error-rqtl2")}} + {{flash_all_messages()}}