2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2026-02-14 04:36:35 +00:00

add link to exact logbookentry page

This commit is contained in:
2023-11-04 10:40:46 +02:00
parent 70c629f455
commit 55bbccb4ca
3 changed files with 6 additions and 2 deletions

View File

@@ -229,7 +229,7 @@ def logbookentry(request, date, slug):
return render(
request,
"logbookentry.html",
{"logbookentry": this_logbookentry, "trips": trips, "svxothers": svxothers, "wallets": wallets},
{"logbookentry": this_logbookentry,"trips": trips, "svxothers": svxothers, "wallets": wallets},
)
else:
msg = f' Logbook entry slug:"{slug}" not found in database on date:"{date}" '

View File

@@ -345,6 +345,7 @@ def logbookedit(request, year=None, slug=None):
"tu": tu,
"entry": entry,
"output": output,
"slug": slug,
},
)
# GET here
@@ -398,6 +399,7 @@ def logbookedit(request, year=None, slug=None):
"tu": tu,
"entry": text,
"textrows": rows,
"slug": slug,
},
)