diff options
author | ArthurHoaro <arthur@hoa.ro> | 2017-05-25 15:54:20 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-25 15:54:20 +0200 |
commit | 3e395a6bc63cba16b0772a382f6cbac0ce4ab906 (patch) | |
tree | 220eaf3400aeeea821b7e150855a1d44f1b5bfe9 /tpl/default | |
parent | b2e2aa42e288e0becaa95bf9cc3be679743fc98e (diff) | |
parent | 7d86f40bdb2135655b5b4fe8cbcc1ac102114f86 (diff) | |
download | Shaarli-3e395a6bc63cba16b0772a382f6cbac0ce4ab906.tar.gz Shaarli-3e395a6bc63cba16b0772a382f6cbac0ce4ab906.tar.zst Shaarli-3e395a6bc63cba16b0772a382f6cbac0ce4ab906.zip |
Merge pull request #841 from ArthurHoaro/feature/search-no-tag
Empty tag search will look for not tagged links
Diffstat (limited to 'tpl/default')
-rw-r--r-- | tpl/default/linklist.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tpl/default/linklist.html b/tpl/default/linklist.html index 6a4e14a6..2568a5d6 100644 --- a/tpl/default/linklist.html +++ b/tpl/default/linklist.html | |||
@@ -91,7 +91,7 @@ | |||
91 | <div id="searchcriteria">{'Nothing found.'|t}</div> | 91 | <div id="searchcriteria">{'Nothing found.'|t}</div> |
92 | </div> | 92 | </div> |
93 | </div> | 93 | </div> |
94 | {elseif="!empty($search_term) or !empty($search_tags) or !empty($visibility)"} | 94 | {elseif="!empty($search_term) or $search_tags !== '' or !empty($visibility)"} |
95 | <div class="pure-g pure-alert pure-alert-success search-result"> | 95 | <div class="pure-g pure-alert pure-alert-success search-result"> |
96 | <div class="pure-u-2-24"></div> | 96 | <div class="pure-u-2-24"></div> |
97 | <div class="pure-u-20-24"> | 97 | <div class="pure-u-20-24"> |
@@ -107,6 +107,10 @@ | |||
107 | <a href="?removetag={function="urlencode($value)"}">{$value}<span class="remove"><i class="fa fa-times"></i></span></a> | 107 | <a href="?removetag={function="urlencode($value)"}">{$value}<span class="remove"><i class="fa fa-times"></i></span></a> |
108 | </span> | 108 | </span> |
109 | {/loop} | 109 | {/loop} |
110 | {elseif="$search_tags === false"} | ||
111 | <span class="label label-tag" title="{'Remove tag'|t}"> | ||
112 | <a href="?">{'untagged'|t}<span class="remove"><i class="fa fa-times"></i></span></a> | ||
113 | </span> | ||
110 | {/if} | 114 | {/if} |
111 | {if="!empty($visibility)"} | 115 | {if="!empty($visibility)"} |
112 | {'with status'|t} | 116 | {'with status'|t} |