#assign editableSubfix=['css','js','html','shtml','htm','xml','txt','svg','md','text','json']/>
| <@t.page 'name'/> | <@t.page 'modified_date'/> | <@t.page 'create_date'/> | <@t.page 'file.size'/> | <@t.page 'operate'/> | |
|---|---|---|---|---|---|
| <@t.page 'button.return'/> | |||||
| <#if a.directory> ${a.fileName} <#else> <#if lockMap?has_content && lockMap[filePath]?has_content> <#assign lockUser=(userMap[lockMap[filePath].userId?string].nickname)!''/> #if> ${a.fileName} #if> | ${a.lastModifiedTime?datetime} | ${a.creationTime?datetime} | <@t.fileSize a.size/> | <#if a.directory> <@t.page 'button.compress'/> <#else> <#if a.fileName?ends_with('.zip')> <@t.page 'button.decompress'/> #if> <#if editableSubfix?seq_contains(a.fileName?keep_after_last('.')?lower_case)> <@t.page 'button.edit'/> #if> <@t.page 'button.view'/> #if> |