From d49f7cb8a055d4648f2ca868f6c588caed453247 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Sun, 28 Jun 2020 14:35:35 +0200 Subject: [PATCH] Hide empty tag box on tagged page --- com.woltlab.wcf/templates/tagged.tpl | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) diff --git a/com.woltlab.wcf/templates/tagged.tpl b/com.woltlab.wcf/templates/tagged.tpl index 540169499a..1a8e32661e 100644 --- a/com.woltlab.wcf/templates/tagged.tpl +++ b/com.woltlab.wcf/templates/tagged.tpl @@ -25,13 +25,15 @@ -
-

{lang}wcf.tagging.tags{/lang}

- -
- {include file='tagCloudBox' taggableObjectType=$objectType} -
-
+ {if !$tags|empty} +
+

{lang}wcf.tagging.tags{/lang}

+ +
+ {include file='tagCloudBox' taggableObjectType=$objectType} +
+
+ {/if} {/capture} {include file='header'} -- 2.20.1