1
0
Fork 0
mirror of https://github.com/openstf/stf synced 2025-10-04 18:29:17 +02:00

File Explorer order files alphabetically. Add file timestamp.

This commit is contained in:
Gunther Brunner 2015-10-01 18:56:03 +09:00
parent 2f3de3f516
commit c17dede8c0

View file

@ -28,7 +28,7 @@
th
div(translate) Permissions
tbody
tr.header(ng-repeat='f in files | filter:search | orderBy: "-mode|isdir"')
tr.header(ng-repeat='f in files | filter:search | orderBy: ["-mode|isdir", "+name"]')
td
button.btn.btn-sm.btn-primary-outline(
ng-click='dirEnter(f.name)', ng-show='f.mode|isdir')
@ -44,6 +44,7 @@
td
span(ng-show='f.mode|isdir') -
span(ng-hide='f.mode|isdir') {{f.size}}
td Date
td
span {{f.mtime}}
td
i {{f.mode|mode2unix}}