From 781c4986c6f5c8c5ce7200abfe189b4b27e78198 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Fri, 20 Oct 2017 15:59:14 +0200 Subject: [PATCH] a little bit template code simplification in posted_date_widget --- view/templates/posted_date_widget.tpl | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/view/templates/posted_date_widget.tpl b/view/templates/posted_date_widget.tpl index d7781d4c68..277ad0e39c 100644 --- a/view/templates/posted_date_widget.tpl +++ b/view/templates/posted_date_widget.tpl @@ -40,13 +40,11 @@ function dateSubmit(dateurl) { {{/foreach}} - {{if $cutoff}} - - - - {{else}} + + {{if $cutoff}} + + {{/if}} -- 2.39.5