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/vintage | |
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/vintage')
-rw-r--r-- | tpl/vintage/linklist.html | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html index fc116667..8458caa1 100644 --- a/tpl/vintage/linklist.html +++ b/tpl/vintage/linklist.html | |||
@@ -55,7 +55,7 @@ | |||
55 | 55 | ||
56 | {if="count($links)==0"} | 56 | {if="count($links)==0"} |
57 | <div id="searchcriteria">Nothing found.</div> | 57 | <div id="searchcriteria">Nothing found.</div> |
58 | {elseif="!empty($search_term) or !empty($search_tags)"} | 58 | {elseif="!empty($search_term) or $search_tags !== ''"} |
59 | <div id="searchcriteria"> | 59 | <div id="searchcriteria"> |
60 | {$result_count} results | 60 | {$result_count} results |
61 | {if="!empty($search_term)"} | 61 | {if="!empty($search_term)"} |
@@ -69,6 +69,10 @@ | |||
69 | <a href="?removetag={function="urlencode($value)"}">{$value} <span class="remove">x</span></a> | 69 | <a href="?removetag={function="urlencode($value)"}">{$value} <span class="remove">x</span></a> |
70 | </span> | 70 | </span> |
71 | {/loop} | 71 | {/loop} |
72 | {elseif="$search_tags === false"} | ||
73 | <span class="linktag" title="Remove tag"> | ||
74 | <a href="?">untagged <span class="remove">x</span></a> | ||
75 | </span> | ||
72 | {/if} | 76 | {/if} |
73 | </div> | 77 | </div> |
74 | {/if} | 78 | {/if} |