From 507ff12642f8afa561547b3880ddd9ac5fce4d30 Mon Sep 17 00:00:00 2001 From: Emmanuel Viennet Date: Sat, 4 Dec 2021 22:41:06 +0100 Subject: [PATCH] fix --- app/scodoc/sco_evaluation_edit.py | 2 +- app/templates/but/refcomp_show.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/scodoc/sco_evaluation_edit.py b/app/scodoc/sco_evaluation_edit.py index 1f5cca230..37b7f8ae0 100644 --- a/app/scodoc/sco_evaluation_edit.py +++ b/app/scodoc/sco_evaluation_edit.py @@ -84,7 +84,7 @@ def evaluation_create_form( + html_sco_header.sco_footer() ) if not edit: - # creation nouvel + # création nouvel if moduleimpl_id is None: raise ValueError("missing moduleimpl_id parameter") initvalues = { diff --git a/app/templates/but/refcomp_show.html b/app/templates/but/refcomp_show.html index d5664e3b0..07e45543f 100644 --- a/app/templates/but/refcomp_show.html +++ b/app/templates/but/refcomp_show.html @@ -5,7 +5,7 @@
-Chargé le {{ref.scodoc_date_loaded.strftime("%d/%m/%Y à %H:%M")}} à partir du fichier {{ref.scodoc_orig_filename}}. +Chargé le {{ref.scodoc_date_loaded.strftime("%d/%m/%Y à %H:%M") if ref.scodoc_date_loaded else ""}} à partir du fichier {{ref.scodoc_orig_filename or "(inconnu)"}}.