refactor: Remove non-bulma rescue org
This commit is contained in:
@@ -40,10 +40,8 @@ urlpatterns = [
|
||||
name="adoption-notice-add-animal"),
|
||||
|
||||
path("tierschutzorganisationen/", views.bulma_list_rescue_organizations, name="rescue-organizations"),
|
||||
path("organisation/<int:rescue_organization_id>/", views.detail_view_rescue_organization,
|
||||
path("tierschutzorganisationen/<int:rescue_organization_id>/", views.detail_view_rescue_organization,
|
||||
name="rescue-organization-detail"),
|
||||
path("bulma/organisation/<int:rescue_organization_id>/", views.bulma_detail_view_rescue_organization,
|
||||
name="bulma-rescue-organization-detail"),
|
||||
|
||||
# ex: /search/
|
||||
path("suchen/", views.search, name="search"),
|
||||
|
@@ -682,17 +682,12 @@ def bulma_list_rescue_organizations(request):
|
||||
|
||||
|
||||
def detail_view_rescue_organization(request, rescue_organization_id,
|
||||
template='fellchensammlung/details/detail-rescue-organization.html'):
|
||||
template='fellchensammlung/details/bulma-detail-rescue-organization.html'):
|
||||
org = RescueOrganization.objects.get(pk=rescue_organization_id)
|
||||
return render(request, template,
|
||||
context={"org": org, "map_center": org.position, "zoom_level": 6, "rescue_organizations": [org]})
|
||||
|
||||
|
||||
def bulma_detail_view_rescue_organization(request, rescue_organization_id):
|
||||
return detail_view_rescue_organization(request,
|
||||
rescue_organization_id,
|
||||
template='fellchensammlung/details/bulma-detail-rescue-organization.html')
|
||||
|
||||
|
||||
def export_own_profile(request):
|
||||
user = request.user
|
||||
|
Reference in New Issue
Block a user