Skip to content

Home Information - Your home, your data, organized.

Python

Fixed bug in Collection display for entity clicks.

Anthony Cassandrabebe6b85a919
diff --git a/src/hi/apps/collection/templates/collection/collection_view.html b/src/hi/apps/collection/templates/collection/collection_view.html
index 489ea3e9..5e9a10ff 100644
--- a/src/hi/apps/collection/templates/collection/collection_view.html
+++ b/src/hi/apps/collection/templates/collection/collection_view.html
@@ -4,7 +4,7 @@
{% for entity in collection_data.entity_list %}
<div class="">
{% if request.is_editing %}
- <a href="{% url 'edit_details' html_id=entity.html_id %}"
+ <a href="{% url 'entity_edit_entity_details' entity_id=entity.id %}"
data-async="true">
{{ entity.name }}
</a>
diff --git a/src/hi/apps/entity/edit/views.py b/src/hi/apps/entity/edit/views.py
index 1f086bf8..7a861478 100644
--- a/src/hi/apps/entity/edit/views.py
+++ b/src/hi/apps/entity/edit/views.py
@@ -43,7 +43,7 @@ class EntityDetailsView( View ):
'entity': entity,
'svg_position_form': svg_position_form,
}
- template = get_template( 'edit/panes/entity_details.html' )
+ template = get_template( 'entity/edit/panes/entity_details.html' )
content = template.render( context, request = request )
return antinode.response(
insert_map = {