minor fixes and cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2016-04-21 01:42:06 +03:00
parent dd0fe62ad7
commit 8177a807bd
2 changed files with 8 additions and 5 deletions

View File

@ -1007,7 +1007,7 @@ var FileSystemWriterActions = actions.Actions({
.then(function(){
that.data.ribbons[ribbon].forEach(function(gid){
var img = that.images[gid]
var img_name = pathlib.basename(img.name || img.path)
var img_name = pathlib.basename(img.path || (img.name + img.ext))
// get best preview...

View File

@ -279,7 +279,8 @@ var MetadataUIActions = actions.Actions({
// base
'GID',
'File Name', 'Parent Directory', 'Full Path',
'Date file created', 'Date file modified', 'Date file accessed',
'Date created', 'ctime', 'mtime', 'atime',
'Index (ribbon)', 'Index (crop)', 'Index (global)',
@ -378,9 +379,11 @@ var MetadataUIActions = actions.Actions({
['Full Path: ',
_normalize((img.base_path || '.') +'/'+ img.path)],
['Date file created: ', img.ctime && new Date(img.ctime).toShortDate()],
['- Date file modified: ', img.mtime && new Date(img.mtime).toShortDate()],
['- Date file accessed: ', img.atime && new Date(img.atime).toShortDate()],
['Date created: ', img.birthtime
&& new Date(img.birthtime).toShortDate()],
['- ctime: ', img.ctime && new Date(img.ctime).toShortDate()],
['- mtime: ', img.mtime && new Date(img.mtime).toShortDate()],
['- atime: ', img.atime && new Date(img.atime).toShortDate()],
])
// comment and tags...