From c6c1f8dc49f9091053c196ec671a614062a6c3bc Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Mon, 20 Dec 2021 19:42:56 +0100 Subject: Syndication - filter field on sheet (bis) --- archaeological_operations/templates/ishtar/sheet_site.html | 2 +- archaeological_operations/urls.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'archaeological_operations') diff --git a/archaeological_operations/templates/ishtar/sheet_site.html b/archaeological_operations/templates/ishtar/sheet_site.html index a7955572d..4904b5562 100644 --- a/archaeological_operations/templates/ishtar/sheet_site.html +++ b/archaeological_operations/templates/ishtar/sheet_site.html @@ -1,7 +1,7 @@ {% extends "ishtar/sheet.html" %} {% load i18n window_tables window_header window_ope_tables window_field from_dict %} -{% block head_title %}{{SITE_LABEL}} - {{item}}{% endblock %} +{% block head_title %}{{SITE_LABEL}} - {{item.cached_label}}{% endblock %} {% block toolbar %} {% window_nav item window_id 'show-site' 'site_modify' 'show-historized-site' 'revert-site' previous next 1 %} diff --git a/archaeological_operations/urls.py b/archaeological_operations/urls.py index f177994be..e77ccc625 100644 --- a/archaeological_operations/urls.py +++ b/archaeological_operations/urls.py @@ -375,7 +375,7 @@ urlpatterns = [ name="api-get-operation" ), path( - "api/get/archaeologicalsite//", views_api.GetSiteAPI.as_view(), + "api/get/site//", views_api.GetSiteAPI.as_view(), name="api-get-archaeologicalsite" ), ] -- cgit v1.2.3