aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-08-19 17:57:21 +0200
committerGitHub <noreply@github.com>2017-08-19 17:57:21 +0200
commit87fc4fedd6ba0d9b73d2f62153fbfe924f3e86e1 (patch)
treeb5356e3b42f246e8bfebeade2be72653bb19bf4f /tpl/default
parent5e58e6e2cf05a05b9615d6ab53d39579472a5c41 (diff)
parent2fa2f57fd52e23be762c76fc91e0991a1a5d73c5 (diff)
downloadShaarli-87fc4fedd6ba0d9b73d2f62153fbfe924f3e86e1.tar.gz
Shaarli-87fc4fedd6ba0d9b73d2f62153fbfe924f3e86e1.tar.zst
Shaarli-87fc4fedd6ba0d9b73d2f62153fbfe924f3e86e1.zip
Merge pull request #924 from ArthurHoaro/feature/hide-list-search
Hide the search link if no tag has been searched in tag list
Diffstat (limited to 'tpl/default')
-rw-r--r--tpl/default/tag.list.html8
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>