aboutsummaryrefslogtreecommitdiffhomepage
path: root/tpl/linklist.html
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-10-12 14:51:37 +0200
committerGitHub <noreply@github.com>2016-10-12 14:51:37 +0200
commit03542572665bae57705a2f57b0737ed43f4f1415 (patch)
treeed4f096826babda6ad25eba4951a6a76cbad2a34 /tpl/linklist.html
parentadcdac1dec45090e2fa1cd4a340e91a40c7a205f (diff)
parentc6d876bb2afe7e9ec1a64c74e766360e2fa441e0 (diff)
downloadShaarli-03542572665bae57705a2f57b0737ed43f4f1415.tar.gz
Shaarli-03542572665bae57705a2f57b0737ed43f4f1415.tar.zst
Shaarli-03542572665bae57705a2f57b0737ed43f4f1415.zip
Merge pull request #622 from ArthurHoaro/update-date
Save link update dates and render it in templates and feeds
Diffstat (limited to 'tpl/linklist.html')
-rw-r--r--tpl/linklist.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/tpl/linklist.html b/tpl/linklist.html
index 2316f145..9979f12a 100644
--- a/tpl/linklist.html
+++ b/tpl/linklist.html
@@ -89,7 +89,16 @@
89 <br> 89 <br>
90 {if="$value.description"}<div class="linkdescription">{$value.description}</div>{/if} 90 {if="$value.description"}<div class="linkdescription">{$value.description}</div>{/if}
91 {if="!$hide_timestamps || isLoggedIn()"} 91 {if="!$hide_timestamps || isLoggedIn()"}
92 <span class="linkdate" title="Permalink"><a href="?{$value.linkdate|smallHash}">{function="strftime('%c', $value.timestamp)"} - permalink</a> - </span> 92 {$updated=$value.updated_timestamp ? 'Edited: '. strftime('%c', $value.updated_timestamp) : 'Permalink'}
93 <span class="linkdate" title="Permalink">
94 <a href="?{$value.linkdate|smallHash}">
95 <span title="{$updated}">
96 {function="strftime('%c', $value.timestamp)"}
97 {if="$value.updated_timestamp"}*{/if}
98 </span>
99 - permalink
100 </a> -
101 </span>
93 {else} 102 {else}
94 <span class="linkdate" title="Short link here"><a href="?{$value.shorturl}">permalink</a> - </span> 103 <span class="linkdate" title="Short link here"><a href="?{$value.shorturl}">permalink</a> - </span>
95 {/if} 104 {/if}