X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=tpl%2Fvintage%2Flinklist.html;h=e7137246d95ff9d6ef5ac88eaa74279b3194df3f;hb=c7721487b2459e6760cae9d6292b7d39c306d3d6;hp=5accc92fa4eed0367a187c3509d27e943ffd50fd;hpb=5978588578ca103152598ccfbe41019b12e00a4f;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html
index 5accc92f..e7137246 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}
@@ -82,13 +86,13 @@
@@ -99,11 +103,11 @@
{if="$value.description"}{$value.description}
{/if}
{if="!$hide_timestamps || isLoggedIn()"}
- {$updated=$value.updated_timestamp ? 'Edited: '. strftime('%c', $value.updated_timestamp) : 'Permalink'}
+ {$updated=$value.updated_timestamp ? 'Edited: '. format_date($value.updated) : 'Permalink'}
- {function="strftime('%c', $value.timestamp)"}
+ {$value.created|format_date}
{if="$value.updated_timestamp"}*{/if}
- permalink
@@ -142,10 +146,5 @@
{include="page.footer"}
-
-
-