diff --git a/cove_bods/templates/cove_bods/explore.html b/cove_bods/templates/cove_bods/explore.html index 8148a0a..6bca733 100644 --- a/cove_bods/templates/cove_bods/explore.html +++ b/cove_bods/templates/cove_bods/explore.html @@ -6,6 +6,24 @@ {% endblock %} {% block explore_content %} + + + +
+ +
+
+

+ {% trans 'Schema Version' %} +

+
+
+

{% trans 'Schema Version Used' %}: {{ schema_version_used }}

+
+
+
+ +
diff --git a/cove_bods/views.py b/cove_bods/views.py index 5ca1018..0009e61 100644 --- a/cove_bods/views.py +++ b/cove_bods/views.py @@ -94,6 +94,9 @@ def explore_bods(request, pk): db_data.rendered = True db_data.save() + # Some extra info from the Schema + context['schema_version_used'] = schema_bods.schema_version + # We need to calculate some stats for showing in the view total_ownership_or_control_interest_statements = 0 for key, count in context['statistics']['count_ownership_or_control_statement_interest_statement_types'].items():