X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fvintage%2Flinklist.html;h=3f202849db3313b91f26b32ef2d5deec3b019656;hb=e85b7a05a177f803ae36ba5c12835313f31177bc;hp=fc116667aac83dd12bb4d45bbfad8d5744cbb560;hpb=9971f7c82cc47446b457464cec5b4fefcae470e1;p=github%2Fshaarli%2FShaarli.git diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html index fc116667..3f202849 100644 --- a/tpl/vintage/linklist.html +++ b/tpl/vintage/linklist.html @@ -22,7 +22,7 @@ {if="!empty($search_tags)"} value="{$search_tags}" {/if} - autocomplete="off" class="awesomplete" data-multiple data-minChars="1" + autocomplete="off" data-multiple data-minChars="1" data-list="{loop="$tags"}{$key}, {/loop}" > @@ -55,7 +55,7 @@ {if="count($links)==0"}
Nothing found.
- {elseif="!empty($search_term) or !empty($search_tags)"} + {elseif="!empty($search_term) or $search_tags !== ''"}
{$result_count} results {if="!empty($search_term)"} @@ -69,6 +69,10 @@ {$value} x {/loop} + {elseif="$search_tags === false"} + + untagged x + {/if}
{/if} @@ -76,19 +80,28 @@ {loop="$links"} -
{$value.url|thumbnail}
+ {if="$thumbnails_enabled && !empty($value.thumbnail)"} +
+ + {ignore}RainTPL hack: put the 2 src on two different line to avoid path replace bug{/ignore} + thumbnail + +
+ {/if} {include="page.footer"} + - - -