From 9fc865e4657721841627866c167f5c9d89f47581 Mon Sep 17 00:00:00 2001 From: Kevin Ngai Date: Tue, 20 Aug 2024 15:05:01 +0000 Subject: [PATCH] Template theme enhancements: - Breadcrumb fix of using data['id']and data['collections_path'] if possible - Improve limit warning display of collection items and add ARIA tags --- theme/templates/collections/items/index.html | 36 +++++++++++--------- theme/templates/collections/queryables.html | 4 +++ theme/templates/collections/schema.html | 4 +++ 3 files changed, 27 insertions(+), 17 deletions(-) diff --git a/theme/templates/collections/items/index.html b/theme/templates/collections/items/index.html index d5bd8d76..2a4101d1 100644 --- a/theme/templates/collections/items/index.html +++ b/theme/templates/collections/items/index.html @@ -51,8 +51,8 @@

{% for l in data['links'] if l.rel == 'collection' %} {{ l['title'] }} {% en

{% trans %}No results. Please modify your search query or the table.{% endtrans %}

@@ -67,15 +67,15 @@

{% for l in data['links'] if l.rel == 'collection' %} {{ l['title'] }} {% en

- - @@ -97,7 +97,7 @@

{% for l in data['links'] if l.rel == 'collection' %} {{ l['title'] }} {% en

- {% for l in data['links'] if l.rel == 'collection' %} {{ l['title'] }} {% en class="input-sm form-control inline-block" v-model="limit" :disabled="itemsLoading" + aria-describedby="limit-warning" @change="limitChange()"> + {% trans %}Higher limits are not recommended{% endtrans %}
@@ -158,10 +160,10 @@

{% for l in data['links'] if l.rel == 'collection' %} {{ l['title'] }} {% en -
-

{% trans %}Higher limits are not recommended{% endtrans %}

-
-