From: ArthurHoaro Date: Sat, 19 Aug 2017 15:49:11 +0000 (+0200) Subject: Hide the search link if no tag has been searched in tag list X-Git-Tag: v0.9.1~1^2~2^2 X-Git-Url: https://git.immae.eu/?p=github%2Fshaarli%2FShaarli.git;a=commitdiff_plain;h=2fa2f57fd52e23be762c76fc91e0991a1a5d73c5 Hide the search link if no tag has been searched in tag list --- diff --git a/tpl/default/tag.list.html b/tpl/default/tag.list.html index 81d6e5af..e250e42d 100644 --- a/tpl/default/tag.list.html +++ b/tpl/default/tag.list.html @@ -13,9 +13,11 @@
{$countTags=count($tags)}

{'Tag list'|t} - {$countTags} {'tags'|t}

-

- {'List all links with those tags'|t} -

+ {if="!empty($search_tags)"} +

+ {'List all links with those tags'|t} +

+ {/if}