aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/default/linklist.html
diff options
context:
space:
mode:
authorArthurHoaro <arthur@hoa.ro>2017-05-25 15:54:20 +0200
committerGitHub <noreply@github.com>2017-05-25 15:54:20 +0200
commit3e395a6bc63cba16b0772a382f6cbac0ce4ab906 (patch)
tree220eaf3400aeeea821b7e150855a1d44f1b5bfe9 /tpl/default/linklist.html
parentb2e2aa42e288e0becaa95bf9cc3be679743fc98e (diff)
parent7d86f40bdb2135655b5b4fe8cbcc1ac102114f86 (diff)
downloadShaarli-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/linklist.html')
-rw-r--r--tpl/default/linklist.html6
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}