From d72a096fa55e1b0c9d78a0fc0fa5a0b72988c69d Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 15 Feb 2021 10:15:57 +0000 Subject: fix preview generating duplicate IDs --- view/tpl/conv_item.tpl | 2 +- view/tpl/threaded_conversation.tpl | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'view/tpl') diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index b021509d3..361392796 100644 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -141,7 +141,7 @@ {{$item.conlabels.1}} - + {{$item.conlabels.2}} diff --git a/view/tpl/threaded_conversation.tpl b/view/tpl/threaded_conversation.tpl index 5bc7d8386..6e773088e 100644 --- a/view/tpl/threaded_conversation.tpl +++ b/view/tpl/threaded_conversation.tpl @@ -1,9 +1,13 @@ +{{if !$preview }}
+{{/if}} {{if $photo_item}} {{$photo_item}} {{/if}} {{foreach $threads as $thread_item}} {{include file="{{$thread_item.template}}" item=$thread_item}} {{/foreach}} +{{if !$preview }}
+{{/if}} -- cgit v1.2.3