From ee1c1b39b29fbad948068f93b2a0eeb537ef456c Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 31 Aug 2016 17:33:00 +0200 Subject: Update live timestamps to give a more live feeling --- apps/files/js/filelist.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files/js') diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js index ca41012764a..7584362317c 100644 --- a/apps/files/js/filelist.js +++ b/apps/files/js/filelist.js @@ -1202,8 +1202,9 @@ } td = $('').attr({ "class": "date" }); td.append($('').attr({ - "class": "modified", + "class": "modified live-relative-timestamp", "title": formatted, + "data-timestamp": mtime, "style": 'color:rgb('+modifiedColor+','+modifiedColor+','+modifiedColor+')' }).text(text) .tooltip({placement: 'top'}) -- cgit v1.2.3 From ee838a224eeb45d5b898e68a8d17b7d50fc7ad43 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 31 Aug 2016 17:44:09 +0200 Subject: Use live timestamp in the sidebar details --- apps/files/js/mainfileinfodetailview.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'apps/files/js') diff --git a/apps/files/js/mainfileinfodetailview.js b/apps/files/js/mainfileinfodetailview.js index 30b2b531df7..20cedcf4e82 100644 --- a/apps/files/js/mainfileinfodetailview.js +++ b/apps/files/js/mainfileinfodetailview.js @@ -24,7 +24,7 @@ ' class="action action-favorite favorite">' + ' {{starAltText}}' + ' ' + - ' {{#if hasSize}}{{size}}, {{/if}}{{date}}' + + ' {{#if hasSize}}{{size}}, {{/if}}{{date}}' + ' ' + '' + '