From 083eebf36d0cd14bb35ccac2ec6141cb45eed0a5 Mon Sep 17 00:00:00 2001 From: "Ed (ODSC)" Date: Wed, 6 Sep 2023 10:12:43 +0100 Subject: [PATCH] cove_rdls/templates/cove_rdls/additional_fields_table.html: Improve Additional fields table --- .../cove_rdls/additional_fields_table.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/cove_rdls/templates/cove_rdls/additional_fields_table.html b/cove_rdls/templates/cove_rdls/additional_fields_table.html index d20b530..6c55f48 100644 --- a/cove_rdls/templates/cove_rdls/additional_fields_table.html +++ b/cove_rdls/templates/cove_rdls/additional_fields_table.html @@ -1,11 +1,14 @@ {% load i18n %} + + - - + + @@ -15,7 +18,14 @@ {{ value.field_name }} +
{% trans 'Field Name' %}{% trans 'Contents' %}{% trans 'Where field occurs' %}{% trans 'Usage Count' %} + {% trans 'First 3 Values' %}{% trans 'First 3 Locations' %}
- {{ value.examples }} + {{ value.examples|length }} + + {% for error in value.examples|slice:":3" %} +
  • + {{ error.path|join:"/" }} +
  • + {% endfor %}
    {{ value.path }}