summaryrefslogtreecommitdiff
path: root/archaeological_operations
diff options
context:
space:
mode:
Diffstat (limited to 'archaeological_operations')
-rw-r--r--archaeological_operations/templates/ishtar/sheet_site.html2
-rw-r--r--archaeological_operations/urls.py2
2 files changed, 2 insertions, 2 deletions
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 %}<strong>{{SITE_LABEL}}</strong> - {{item}}{% endblock %}
+{% block head_title %}<strong>{{SITE_LABEL}}</strong> - {{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/<int:pk>/", views_api.GetSiteAPI.as_view(),
+ "api/get/site/<int:pk>/", views_api.GetSiteAPI.as_view(),
name="api-get-archaeologicalsite"
),
]