mirror of
https://github.com/myvesta/vesta
synced 2025-07-08 05:51:25 -07:00
Fixes for FM
This commit is contained in:
parent
ec43524083
commit
5d070fc9a5
13 changed files with 274 additions and 1489 deletions
|
@ -663,9 +663,8 @@ FM.generate_listing = function(reply, box) {
|
|||
tpl.set(':SIZE_VALUE', o.type == 'f' ? FM.humanFileSizeValue(o.size) : ' ');
|
||||
tpl.set(':SIZE_UNIT', o.type == 'f' ? FM.humanFileSizeUnit(o.size) : ' ');
|
||||
tpl.set(':TIME', (psDate.getFullYear() != new Date().getFullYear()) ? psDate.getFullYear() || "" : time);
|
||||
tpl.set(':DATE', o.date.trim() != '' ? psDate.format('mmm d') : ' '/*o.date*/);
|
||||
|
||||
|
||||
tpl.set(':DATE', o.date.trim() != '' ? App.Constants.FM_TRANSLATED_DATES[psDate.format('mmm')] + psDate.format(' d'): ' '/*o.date*/);
|
||||
|
||||
if (o.name == '..' || o.type == 'd') {
|
||||
tpl.set(':SUBMENU_CLASS', 'hidden');
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue