From aedfde2984d4a4b023ce8591ccceb8802fdc1622 Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Sat, 2 Mar 2019 12:49:44 +0100 Subject: [PATCH] Reword some stuff + don't open popup by default --- map/templates/map/base.html | 2 +- map/templates/map/map.html | 5 +---- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/map/templates/map/base.html b/map/templates/map/base.html index 81e58da..d91ff41 100644 --- a/map/templates/map/base.html +++ b/map/templates/map/base.html @@ -19,7 +19,7 @@ {% block add-head %} {% endblock %} - {{ app.site.name }} · {% block title %}Home{% endblock %} + FriendsMap · {% block title %}Home{% endblock %} {#{% include 'map/navbar.html' %}#} diff --git a/map/templates/map/map.html b/map/templates/map/map.html index 617acf5..3adeb67 100644 --- a/map/templates/map/map.html +++ b/map/templates/map/map.html @@ -1,9 +1,6 @@ {% extends 'map/base.html' %} {% load static %} -{% block title %}Carte autour de {{ place }}{% endblock %} -{% block h1 %}Carte autour de {{ place }}{% endblock %} - {% block add-head %} {{ location.friend.get_full_name }} from {{ location.start_date }} until {{ location.end_date }}").openPopup(); + marker.bindPopup("{{ location.friend.get_full_name }} from {{ location.start_date }} until {{ location.end_date }}"); {% endfor %} {% endblock %}