diff options
author | friendica <info@friendica.com> | 2014-07-03 00:58:49 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-07-03 00:58:49 -0700 |
commit | c7086b77fdac7b7cf4e96010c72e0cff4829f10f (patch) | |
tree | 3348cdf3748806c6b6bf59c599035068139379c9 /view | |
parent | f3bc1d4b964f6c7b1ed2dcfaaf501ce5576d0425 (diff) | |
download | volse-hubzilla-c7086b77fdac7b7cf4e96010c72e0cff4829f10f.tar.gz volse-hubzilla-c7086b77fdac7b7cf4e96010c72e0cff4829f10f.tar.bz2 volse-hubzilla-c7086b77fdac7b7cf4e96010c72e0cff4829f10f.zip |
move code out of templates - not sure how this even worked.
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/cloud_directory.tpl | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index fc6b3309a..5d22e4a16 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -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}}
\ No newline at end of file |