Add last access and creation times in the properties window in drive
This commit is contained in:
parent
22e3baed4b
commit
88e7f9a218
@ -2494,6 +2494,18 @@ define([
|
|||||||
}));
|
}));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$('<label>', {'for': 'cp-app-drive-prop-ctime'}).text(Messages.fm_creation)
|
||||||
|
.appendTo($d);
|
||||||
|
$d.append(Cryptpad.dialog.selectable(new Date(data.ctime).toLocaleString(), {
|
||||||
|
id: 'cp-app-drive-prop-ctime',
|
||||||
|
}));
|
||||||
|
|
||||||
|
$('<label>', {'for': 'cp-app-drive-prop-atime'}).text(Messages.fm_lastAccess)
|
||||||
|
.appendTo($d);
|
||||||
|
$d.append(Cryptpad.dialog.selectable(new Date(data.atime).toLocaleString(), {
|
||||||
|
id: 'cp-app-drive-prop-atime',
|
||||||
|
}));
|
||||||
|
|
||||||
if (APP.loggedIn && AppConfig.enablePinning) {
|
if (APP.loggedIn && AppConfig.enablePinning) {
|
||||||
// check the size of this file...
|
// check the size of this file...
|
||||||
common.getFileSize(data.href, function (e, bytes) {
|
common.getFileSize(data.href, function (e, bytes) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user