X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fvintage%2Flinklist.html;h=8458caa1c89224f377370b34ecfaedeb2ae8b395;hb=fdb4fee4330067f13ff8ee15e3222ee2736e7bc1;hp=5accc92fa4eed0367a187c3509d27e943ffd50fd;hpb=5978588578ca103152598ccfbe41019b12e00a4f;p=github%2Fshaarli%2FShaarli.git
diff --git a/tpl/vintage/linklist.html b/tpl/vintage/linklist.html
index 5accc92f..8458caa1 100644
--- a/tpl/vintage/linklist.html
+++ b/tpl/vintage/linklist.html
@@ -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}
@@ -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