move code out of templates - not sure how this even worked.
This commit is contained in:
parent
f3bc1d4b96
commit
c7086b77fd
@ -1280,7 +1280,15 @@ class RedBrowser extends DAV\Browser\Plugin {
|
||||
'$header' => t('Files') . ": " . $this->escapeHTML($path) . "/",
|
||||
'$parentpath' => $parentpath,
|
||||
'$entries' => $f,
|
||||
'$quota' => $quota
|
||||
'$quota' => $quota,
|
||||
'$name' => t('Name'),
|
||||
'$type' => t('Type'),
|
||||
'$size' => t('Size'),
|
||||
'$lastmod' => t('Last Modified'),
|
||||
'$parent' => t('parent'),
|
||||
'$edit' => t('Edit'),
|
||||
'$delete' => t('Delete'),
|
||||
'$total' => t('Total')
|
||||
));
|
||||
|
||||
$output = '';
|
||||
|
@ -1 +1 @@
|
||||
2014-07-02.724
|
||||
2014-07-03.725
|
||||
|
@ -2,19 +2,19 @@
|
||||
<table id="cloud-index">
|
||||
<tr>
|
||||
<th></th>
|
||||
<th>{{t('Name')}} </th>
|
||||
<th>{{$name}} </th>
|
||||
<th></th><th></th><th></th>
|
||||
<th>{{t('Type')}} </th>
|
||||
<th>{{t('Size')}} </th>
|
||||
<th>{{t('Last modified')}}</th>
|
||||
<th>{{$type}} </th>
|
||||
<th>{{$size}} </th>
|
||||
<th>{{$lastmod}}</th>
|
||||
</tr>
|
||||
<tr><td colspan="8"><hr></td></tr>
|
||||
{{if $parentpath}}
|
||||
<tr>
|
||||
<td>{{$parentpath.icon}}</td>
|
||||
<td><a href="{{$parentpath.path}}" title="{{t('parent')}}">..</a></td>
|
||||
<td><a href="{{$parentpath.path}}" title="{{$parent}}">..</a></td>
|
||||
<td></td><td></td><th></td>
|
||||
<td>[{{t('parent')}}]</td>
|
||||
<td>[{{$parent}}]</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
</tr>
|
||||
@ -25,8 +25,8 @@
|
||||
<td style="min-width: 15em"><a href="{{$item.fullPath}}">{{$item.displayName}}</a></td>
|
||||
{{if $item.is_owner}}
|
||||
<td>{{$item.attachIcon}}</td>
|
||||
<td style="position:relative;"><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/edit" title="{{t('Edit')}}"><i class="icon-pencil btn btn-default"></i></a></td>
|
||||
<td><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/delete" title="{{t('Delete')}}" onclick="return confirm('{{t('Are you sure you want to delete this item?')}}');"><i class="icon-remove btn btn-default drop-icons"></i></a></td>
|
||||
<td style="position:relative;"><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/edit" title="{{$edit}}"><i class="icon-pencil btn btn-default"></i></a></td>
|
||||
<td><a href="{{$item.fileStorageUrl}}/{{$item.attachId}}/delete" title="{{$delete}}" onclick="return confirmDelete();"><i class="icon-remove btn btn-default drop-icons"></i></a></td>
|
||||
{{else}}
|
||||
<td></td><td></td><td></td>
|
||||
{{/if}}
|
||||
@ -39,5 +39,5 @@
|
||||
</table>
|
||||
|
||||
{{if $quota.limit || $quota.used}}
|
||||
<p><strong>{{t('Total')}}</strong> {{$quota.desc}}</p>
|
||||
<p><strong>{{$total}}</strong> {{$quota.desc}}</p>
|
||||
{{/if}}
|
Reference in New Issue
Block a user