mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-26 01:01:53 +00:00
cosmetic
This commit is contained in:
parent
d48163f167
commit
df86103407
@ -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
|
# 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
|
# it all in one place: here
|
||||||
output = f'''
|
output = f'''
|
||||||
<hr />
|
|
||||||
<div class="tripdate" id="{newslug}">{date}</div>
|
<div class="tripdate" id="{newslug}">{date}</div>
|
||||||
<div class="trippeople"><u>{author}</u>, {others}</div>
|
<div class="trippeople"><u>{author}</u>, {others}</div>
|
||||||
<div class="triptitle">{place} - {title}</div>
|
<div class="triptitle">{place} - {title}</div>
|
||||||
|
|
||||||
{entry}
|
{entry}
|
||||||
<div class="timeug">T/U {tu} hrs</div>'''
|
|
||||||
|
<div class="timeug">T/U {tu} hrs</div>
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
'''
|
||||||
return render(
|
return render(
|
||||||
request,
|
request,
|
||||||
"logbookform.html",
|
"logbookform.html",
|
||||||
|
@ -59,7 +59,7 @@ LOGBOOK_PARSER_SETTINGS = {
|
|||||||
LOGBOOKS_DIR = "years" # subfolder of settings.EXPOWEB
|
LOGBOOKS_DIR = "years" # subfolder of settings.EXPOWEB
|
||||||
|
|
||||||
ENTRIES = {
|
ENTRIES = {
|
||||||
"2023": 53,
|
"2023": 63,
|
||||||
"2022": 93,
|
"2022": 93,
|
||||||
"2019": 55,
|
"2019": 55,
|
||||||
"2018": 95,
|
"2018": 95,
|
||||||
|
Loading…
Reference in New Issue
Block a user