From eed359e2b6d35fe444353f115237d41d6acad9dc Mon Sep 17 00:00:00 2001 From: Jules Laplace Date: Tue, 2 Mar 2021 18:38:12 +0100 Subject: improving display options to the admin view --- themes/okadmin/templates/index.liquid | 3 +++ themes/okadmin/templates/partials/inputs.liquid | 8 +++++++- 2 files changed, 10 insertions(+), 1 deletion(-) (limited to 'themes') diff --git a/themes/okadmin/templates/index.liquid b/themes/okadmin/templates/index.liquid index 5d7975d..48322a9 100644 --- a/themes/okadmin/templates/index.liquid +++ b/themes/okadmin/templates/index.liquid @@ -59,6 +59,9 @@
{% else %} {{ data[resource.title] }} + {% if resource.subtitle %} + - {{ data[resource.subtitle] }} + {% endif %} {% endif %} diff --git a/themes/okadmin/templates/partials/inputs.liquid b/themes/okadmin/templates/partials/inputs.liquid index 15dae0f..46d0091 100644 --- a/themes/okadmin/templates/partials/inputs.liquid +++ b/themes/okadmin/templates/partials/inputs.liquid @@ -5,7 +5,13 @@
- + {% if type == 'string' %}