aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/filestorage.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-09-08 18:23:31 -0700
committerfriendica <info@friendica.com>2013-09-08 18:23:31 -0700
commitdcc74185d08c0be3320b6a547ec19c2b3db05544 (patch)
tree94fa6a3bb0ab443241e13ca07b3aef99384f2109 /view/tpl/filestorage.tpl
parente60c8e91740328be75da1d7d8829325899f9b5a8 (diff)
parent256ee236ad53beb1bc3fec43d716ce25856f618d (diff)
downloadvolse-hubzilla-dcc74185d08c0be3320b6a547ec19c2b3db05544.tar.gz
volse-hubzilla-dcc74185d08c0be3320b6a547ec19c2b3db05544.tar.bz2
volse-hubzilla-dcc74185d08c0be3320b6a547ec19c2b3db05544.zip
Merge pull request #120 from beardy-unixer/master
Quick and dirty file storage module.
Diffstat (limited to 'view/tpl/filestorage.tpl')
-rw-r--r--view/tpl/filestorage.tpl22
1 files changed, 22 insertions, 0 deletions
diff --git a/view/tpl/filestorage.tpl b/view/tpl/filestorage.tpl
new file mode 100644
index 000000000..995b52cc8
--- /dev/null
+++ b/view/tpl/filestorage.tpl
@@ -0,0 +1,22 @@
+{{if $files}}
+
+ <div class="generic-content-wrapper">
+ {{if $limit}}{{$limitlabel}}{{$limit}}{{/if}} {{if $used}} {{$usedlabel}}{{$used}}{{/if}}
+
+
+ {{foreach $files as $key => $items}}
+ {{foreach $items as $item}}
+ <div class="files-list-item">
+ <a href="attach/{{$item.download}}">{{$download}}</a> |
+ <a href="{{$baseurl}}/{{$item.id}}/delete">{{$delete}}
+ <a href="page/{{$channel}}/{{$item.title}}">{{$title}}</a> {{$item.title}} |
+ {{$item.size}} bytes
+
+</div>
+ {{/foreach}}
+ {{/foreach}}
+ </div>
+
+ <div class="clear"></div>
+
+{{/if}}