From 3f687d2a8cf53c438f7135155a17dc20facba24c Mon Sep 17 00:00:00 2001 From: Dave Roberts <145559566+droberts-ctrlo@users.noreply.github.com> Date: Wed, 18 Dec 2024 16:54:52 +0000 Subject: [PATCH] Update datum.tt --- views/snippets/datum.tt | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/views/snippets/datum.tt b/views/snippets/datum.tt index 084dda83c..994d7a0fc 100644 --- a/views/snippets/datum.tt +++ b/views/snippets/datum.tt @@ -30,13 +30,16 @@ [% END %] [% END %] - [% IF (col.limit_rows AND curval.links.size >= col.limit_rows) OR col.show_view_all %] -
(showing[% IF col.limit_rows AND curval.links.size >= col.limit_rows %] maximum [% col.limit_rows %] - [% ELSE %] - [% curval.links.size %] [% END %]row[%IF curval.links.size != 1%]s[%END%]. - view all)
- [% END %] + [% IF (col.limit_rows AND curval.links.size >= col.limit_rows) OR col.show_view_all %] +(showing[% IF col.limit_rows AND curval.links.size >= col.limit_rows %] maximum [% col.limit_rows %] + [% ELSE %] + [% curval.links.size %] + [% END %] + row[%IF curval.links.size != 1%]s[%END%]. + + view all)
[% END %] +[% END %] [% MACRO render_curcommon_datum(is_multivalue, curval, header, full_content) BLOCK %] [% IF curval.text.length > MORE_LESS_TRESHOLD AND NOT full_content %]