diff --git a/views/snippets/datum.tt b/views/snippets/datum.tt index 86117178b..cebd6661d 100644 --- a/views/snippets/datum.tt +++ b/views/snippets/datum.tt @@ -30,14 +30,12 @@ [% END %] [% END %] - [% IF col.limit_rows AND curval.links.size >= col.limit_rows %] -
(showing maximum [% col.limit_rows %] row[%IF curval.links.size != 1%]s[%END%]. - view all) - [% ELSIF col.show_view_all %] -
(showing [% curval.links.size %] row[%IF curval.links.size != 1%]s[%END%]. - view all)
+ [% 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 %] -[% END %] [% MACRO render_curcommon_datum(is_multivalue, curval, header, full_content) BLOCK %] [% IF curval.text.length > MORE_LESS_TRESHOLD AND NOT full_content %]