diff options
author | RedMatrix <info@friendica.com> | 2014-06-30 09:19:52 +1000 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2014-06-30 09:19:52 +1000 |
commit | 0926c2d849bdc9f8de676a32e2df4fe29d6e2def (patch) | |
tree | ae54f0cf2ece4b96b1f71f1c34544555d1fc2dbe /view | |
parent | 362009959e21ff10cc827fdfb1b857f20fe93045 (diff) | |
parent | ffea67524026caec14da923bafe8ad34ec63ef08 (diff) | |
download | volse-hubzilla-0926c2d849bdc9f8de676a32e2df4fe29d6e2def.tar.gz volse-hubzilla-0926c2d849bdc9f8de676a32e2df4fe29d6e2def.tar.bz2 volse-hubzilla-0926c2d849bdc9f8de676a32e2df4fe29d6e2def.zip |
Merge pull request #516 from dawnbreak/master
Fixed a wrong timestamp update when adding a file.
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/cloud_directory.tpl | 23 |
1 files changed, 9 insertions, 14 deletions
diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index cdcab1990..fc6b3309a 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -9,7 +9,6 @@ <th>{{t('Last modified')}}</th> </tr> <tr><td colspan="8"><hr></td></tr> - {{if $parentpath}} <tr> <td>{{$parentpath.icon}}</td> @@ -20,29 +19,25 @@ <td></td> </tr> {{/if}} - - {{foreach $entries as $item}} <tr> <td>{{$item.icon}}</td> - <td style="min-width: 15em"><a href="{{$item.fullPath}}">{{$item.displayName}}</a></td> - + <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>{{$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> {{else}} <td></td><td></td><td></td> {{/if}} - <td>{{$item.type}}</td> - <td>{{$item.sizeFormatted}}</td> - <td>{{$item.lastmodified}}</td> - </tr> + <td>{{$item.type}}</td> + <td>{{$item.sizeFormatted}}</td> + <td>{{$item.lastmodified}}</td> + </tr> {{/foreach}} - <tr><td colspan="8"><hr></td></tr> </table> {{if $quota.limit || $quota.used}} <p><strong>{{t('Total')}}</strong> {{$quota.desc}}</p> -{{/if}} +{{/if}}
\ No newline at end of file |