diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-08-19 17:49:11 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2017-08-19 17:49:11 +0200 |
commit | 2fa2f57fd52e23be762c76fc91e0991a1a5d73c5 (patch) | |
tree | 34e80c7dab26054b4ae7c0a4db65ca0007b23ed7 | |
parent | ecda1e0ace4a8bf0f852820e02695e0fd8c68359 (diff) | |
download | Shaarli-2fa2f57fd52e23be762c76fc91e0991a1a5d73c5.tar.gz Shaarli-2fa2f57fd52e23be762c76fc91e0991a1a5d73c5.tar.zst Shaarli-2fa2f57fd52e23be762c76fc91e0991a1a5d73c5.zip |
Hide the search link if no tag has been searched in tag list
-rw-r--r-- | tpl/default/tag.list.html | 8 |
1 files changed, 5 insertions, 3 deletions
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 @@ | |||
13 | <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor"> | 13 | <div class="pure-u-lg-2-3 pure-u-22-24 page-form page-visitor"> |
14 | {$countTags=count($tags)} | 14 | {$countTags=count($tags)} |
15 | <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2> | 15 | <h2 class="window-title">{'Tag list'|t} - {$countTags} {'tags'|t}</h2> |
16 | <p style="text-align: center"> | 16 | {if="!empty($search_tags)"} |
17 | <a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a> | 17 | <p class="center"> |
18 | </p> | 18 | <a href="?searchtags={$search_tags|urlencode}">{'List all links with those tags'|t}</a> |
19 | </p> | ||
20 | {/if} | ||
19 | 21 | ||
20 | <div id="search-tagcloud" class="pure-g"> | 22 | <div id="search-tagcloud" class="pure-g"> |
21 | <div class="pure-u-lg-1-4"></div> | 23 | <div class="pure-u-lg-1-4"></div> |