|
|
@ -684,26 +684,15 @@ define([
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (data.tags && Array.isArray(data.tags)) {
|
|
|
|
if (data.tags && Array.isArray(data.tags)) {
|
|
|
|
$('<label>', {'for': 'cp-app-prop-tags'}).text(Messages.fm_prop_tagsList).appendTo($d);
|
|
|
|
$d.append(h('div.cp-app-prop', [Messages.fm_prop_tagsList, ': ', h('span.cp-app-prop-content', data.tags.join(', '))]));
|
|
|
|
$d.append(UI.dialog.selectable(data.tags.join(', '), {
|
|
|
|
|
|
|
|
id: 'cp-app-prop-tags',
|
|
|
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (data.ctime) {
|
|
|
|
if (data.ctime) {
|
|
|
|
$('<label>', {'for': 'cp-app-prop-ctime'}).text(Messages.fm_creation)
|
|
|
|
$d.append(h('div.cp-app-prop', [Messages.fm_creation, ': ', h('span.cp-app-prop-content', new Date(data.ctime).toLocaleString())]));
|
|
|
|
.appendTo($d);
|
|
|
|
|
|
|
|
$d.append(UI.dialog.selectable(new Date(data.ctime).toLocaleString(), {
|
|
|
|
|
|
|
|
id: 'cp-app-prop-ctime',
|
|
|
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (data.atime) {
|
|
|
|
if (data.atime) {
|
|
|
|
$('<label>', {'for': 'cp-app-prop-atime'}).text(Messages.fm_lastAccess)
|
|
|
|
$d.append(h('div.cp-app-prop', [Messages.fm_lastAccess, ': ', h('span.cp-app-prop-content', new Date(data.atime).toLocaleString())]));
|
|
|
|
.appendTo($d);
|
|
|
|
|
|
|
|
$d.append(UI.dialog.selectable(new Date(data.atime).toLocaleString(), {
|
|
|
|
|
|
|
|
id: 'cp-app-prop-atime',
|
|
|
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
if (common.isLoggedIn()) {
|
|
|
|
if (common.isLoggedIn()) {
|
|
|
@ -727,15 +716,8 @@ define([
|
|
|
|
var KB = Util.bytesToKilobytes(bytes);
|
|
|
|
var KB = Util.bytesToKilobytes(bytes);
|
|
|
|
|
|
|
|
|
|
|
|
var formatted = Messages._getKey('formattedKB', [KB]);
|
|
|
|
var formatted = Messages._getKey('formattedKB', [KB]);
|
|
|
|
$('<br>').appendTo($d);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$('<label>', {
|
|
|
|
|
|
|
|
'for': 'cp-app-prop-size'
|
|
|
|
|
|
|
|
}).text(Messages.fc_sizeInKilobytes).appendTo($d);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
$d.append(UI.dialog.selectable(formatted, {
|
|
|
|
$d.append(h('div.cp-app-prop', [Messages.fc_sizeInKilobytes, ': ', h('span.cp-app-prop-content', formatted)]))
|
|
|
|
id: 'cp-app-prop-size',
|
|
|
|
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if (data.sharedFolder && false) {
|
|
|
|
if (data.sharedFolder && false) {
|
|
|
|
$('<label>', {'for': 'cp-app-prop-channel'}).text('Channel ID').appendTo($d);
|
|
|
|
$('<label>', {'for': 'cp-app-prop-channel'}).text('Channel ID').appendTo($d);
|
|
|
|