diff --git a/www/drive/inner.js b/www/drive/inner.js index 4601533b9..850db5450 100644 --- a/www/drive/inner.js +++ b/www/drive/inner.js @@ -120,6 +120,7 @@ define([ var $ownerIcon = $('', {"class": "fa fa-id-card"}); var $tagsIcon = $('', {"class": "fa " + faTags}); var $passwordIcon = $('', {"class": "fa fa-lock"}); + var $expirableIcon = $('', {"class": "fa fa-clock-o"}); var LS_LAST = "app-drive-lastOpened"; var LS_OPENED = "app-drive-openedFolders"; @@ -1442,6 +1443,10 @@ define([ var $password = $passwordIcon.clone().appendTo($state); $password.attr('title', Messages.fm_passwordProtected || ''); } + if (data.expire) { + var $expire = $expirableIcon.clone().appendTo($state); + $expire.attr('title', Messages._getKey('fm_expirablePad', [new Date(data.expire).toLocaleString()])); + } _addOwnership($span, $state, data); var name = manager.getTitle(element);