Skip to content
Snippets Groups Projects
Verified Commit 8c55485a authored by Nik | Klampfradler's avatar Nik | Klampfradler
Browse files

Fix template.

parent 81d7cc7f
No related branches found
No related tags found
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
{% load bootstrap3 i18n leaflet_tags staticfiles %} {% load bootstrap3 i18n leaflet_tags staticfiles %}
{% block person_content %} {% block person_content %}
<h2>{{ Karte }}</h2> <h2>{% blocktrans %}Karte{% endblocktrans %}</h2>
{% leaflet_map "map" callback="map_init" %} {% leaflet_map "map" callback="map_init" %}
......
...@@ -95,4 +95,7 @@ def map(request): ...@@ -95,4 +95,7 @@ def map(request):
# Generate GeoJSON endpoint # Generate GeoJSON endpoint
context['geojson'] = '%s?%s' % (reverse('persons_by_group', args=[group_cn]), 'format=geojson') context['geojson'] = '%s?%s' % (reverse('persons_by_group', args=[group_cn]), 'format=geojson')
# Add information for menu
context['relevant_groups'] = get_relevant_groups(request.user)
return render(request, 'ticdesk_org/map.html', context) return render(request, 'ticdesk_org/map.html', context)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment