From c97ad9f47ee65685a0d82c30fe8598dc65e9d87b Mon Sep 17 00:00:00 2001 From: Shannon Turner Date: Wed, 8 May 2024 22:18:21 -0400 Subject: [PATCH] Add saved map name and urlhash to title on the main screen --- metro_map_saver/map_saver/templates/index.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/metro_map_saver/map_saver/templates/index.html b/metro_map_saver/map_saver/templates/index.html index 3512d50..4759a70 100644 --- a/metro_map_saver/map_saver/templates/index.html +++ b/metro_map_saver/map_saver/templates/index.html @@ -38,7 +38,14 @@ {% endif %} - Metro Map Maker + + {% if saved_map and saved_map.name %} + {{ saved_map.name }} ({{ saved_map.urlhash }}) - + {% elif saved_map %} + {{ saved_map.urlhash }} - + {% endif %} + Metro Map Maker +