16 lines
672 B
Handlebars
16 lines
672 B
Handlebars
|
<tr data-test-entry>
|
||
|
<td>
|
||
|
{{#link-to "allocations.allocation.task.fs" task.allocation task pathToEntry activeClass="is-active"}}
|
||
|
{{#if entry.IsDir}}
|
||
|
<span data-test-directory-icon>{{x-icon "folder-outline"}}</span>
|
||
|
{{else}}
|
||
|
<span data-test-file-icon>{{x-icon "file-outline"}}</span>
|
||
|
{{/if}}
|
||
|
|
||
|
<span class="name" data-test-name>{{entry.Name}}</span>
|
||
|
{{/link-to}}
|
||
|
</td>
|
||
|
<td class="has-text-right" data-test-size>{{#unless entry.IsDir}}{{format-bytes entry.Size}}{{/unless}}</td>
|
||
|
<td class="has-text-right" title={{format-ts entry.ModTime}} data-test-last-modified>{{moment-from entry.ModTime interval=1000}}</td>
|
||
|
</tr>
|