From df861034078709491a3420dd4b2e08fae6ddcf9c Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 30 Aug 2023 21:29:51 +0300 Subject: [PATCH] cosmetic --- core/views/uploads.py | 17 +++++++++++------ parsers/logbooks.py | 2 +- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/core/views/uploads.py b/core/views/uploads.py index 72b2643..b92ca4e 100644 --- a/core/views/uploads.py +++ b/core/views/uploads.py @@ -143,12 +143,17 @@ def logbookedit(request, year=None, slug=None): # OK this could be done by rendering a template, but for such a small bit of HTML, it is easier to have # it all in one place: here output = f''' -
-
{date}
-
{author}, {others}
-
{place} - {title}
- {entry} -
T/U {tu} hrs
''' + +
{date}
+
{author}, {others}
+
{place} - {title}
+ +{entry} + +
T/U {tu} hrs
+
+ +''' return render( request, "logbookform.html", diff --git a/parsers/logbooks.py b/parsers/logbooks.py index 0a497ad..f4ee8d3 100644 --- a/parsers/logbooks.py +++ b/parsers/logbooks.py @@ -59,7 +59,7 @@ LOGBOOK_PARSER_SETTINGS = { LOGBOOKS_DIR = "years" # subfolder of settings.EXPOWEB ENTRIES = { - "2023": 53, + "2023": 63, "2022": 93, "2019": 55, "2018": 95,