Update public source
This commit is contained in:
+7
-12
@@ -2607,20 +2607,9 @@ def render_session_page(
|
||||
|
||||
html = page_begin(
|
||||
|
||||
f"Session {format_session_folder(Path(session['capture_file']).parent.name) if session.get('origin') == 'Local capture' else '-'}",
|
||||
|
||||
active="capture_sessions",
|
||||
|
||||
context=context,
|
||||
|
||||
)
|
||||
|
||||
html += page_header(
|
||||
|
||||
f"🚗 Session {format_datetime(session.get('trip_start'))}",
|
||||
|
||||
f"""
|
||||
|
||||
Trip start:
|
||||
|
||||
{esc(format_datetime(session.get("trip_start")))}
|
||||
@@ -2655,7 +2644,13 @@ Session folder:
|
||||
|
||||
{esc(Path(session["capture_file"]).parent.name if session.get("origin") == "Local capture" else "-")}
|
||||
|
||||
"""
|
||||
""",
|
||||
|
||||
active="capture_sessions",
|
||||
|
||||
context=context,
|
||||
|
||||
section_title="Reports",
|
||||
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user