aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl
diff options
context:
space:
mode:
Diffstat (limited to 'tpl')
-rw-r--r--tpl/default/linklist.html6
-rw-r--r--tpl/vintage/linklist.html6
2 files changed, 10 insertions, 2 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}
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}