refactor: Remove non-bulma map
This commit is contained in:
@@ -49,9 +49,7 @@ urlpatterns = [
|
||||
path("suchen/", views.search, name="search"),
|
||||
path("suchen/<slug:important_location_slug>", views.search_important_locations, name="search-by-location"),
|
||||
# ex: /map/
|
||||
path("map/", views.map, name="map"),
|
||||
# ex: /map/
|
||||
path("bulma/map/", views.map_bulma, name="map-bulma"),
|
||||
path("map/", views.map_bulma, name="map"),
|
||||
# ex: /vermitteln/
|
||||
path("vermitteln/", views.add_adoption_notice_bulma, name="add-adoption"),
|
||||
|
||||
|
@@ -591,13 +591,6 @@ def updatequeue(request):
|
||||
"adoption_notices_active": adoption_notices_active}
|
||||
return render(request, 'fellchensammlung/updatequeue.html', context=context)
|
||||
|
||||
|
||||
def map(request, templatename='fellchensammlung/map.html'):
|
||||
adoption_notices = AdoptionNotice.get_active_ANs()
|
||||
context = {"adoption_notices_map": adoption_notices}
|
||||
return render(request, templatename, context=context)
|
||||
|
||||
|
||||
def map_bulma(request):
|
||||
return map(request, templatename='fellchensammlung/bulma-map.html')
|
||||
|
||||
|
Reference in New Issue
Block a user