Merge pull request #924 from ArthurHoaro/feature/hide-list-search

Hide the search link if no tag has been searched in tag list
This commit is contained in:
ArthurHoaro 2017-08-19 17:57:21 +02:00 committed by GitHub
commit 87fc4fedd6

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>