From 4efeb27958c7cc58b2ed784f0b18fdb0c452d020 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Fri, 30 Sep 2022 07:22:22 +0100 Subject: [PATCH] Add restricted source listing and remove card --- core/templates/ui/drilldown/search_partial.html | 6 ++++++ core/templates/widgets/table_results.html | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/core/templates/ui/drilldown/search_partial.html b/core/templates/ui/drilldown/search_partial.html index 7b2f1a3..a70d436 100644 --- a/core/templates/ui/drilldown/search_partial.html +++ b/core/templates/ui/drilldown/search_partial.html @@ -366,6 +366,12 @@ {% endif %} + {% if params.index == 'restricted' %} + + {% else %} + + {% endif %} + diff --git a/core/templates/widgets/table_results.html b/core/templates/widgets/table_results.html index 78e4cee..d0d5481 100644 --- a/core/templates/widgets/table_results.html +++ b/core/templates/widgets/table_results.html @@ -24,7 +24,7 @@ {% endif %} - fetched {{ table.data|length }} of {{ card }} hits in {{ took }}ms + fetched {{ table.data|length }} hits in {{ took }}ms {% if exemption is not None %}