Hide the search link if no tag has been searched in tag list

This commit is contained in:
ArthurHoaro 2017-08-19 17:49:11 +02:00
parent ecda1e0ace
commit 2fa2f57fd5
1 changed files with 5 additions and 3 deletions

View File

@ -13,9 +13,11 @@
<div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor">
{$countTags=count($tags)}
<h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2>
<p style="text-align: center">
<a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a>
</p>
{if="!empty($search_tags)"}
<p class="center">
<a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a>
</p>
{/if}
<div id="search-tagcloud" class="pure-g">
<div class="pure-u-lg-1-4"></div>