diff options
author | friendica <info@friendica.com> | 2014-01-06 18:13:02 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-01-06 18:13:02 -0800 |
commit | 5a5466346cccecec257fc20a993bfa2426b8bf48 (patch) | |
tree | d0dc294fdf33ac1c733d5d0fbdc272052822d187 /view | |
parent | 41df51a8151a5c1f35abe3c04f94e43b673e29ff (diff) | |
download | volse-hubzilla-5a5466346cccecec257fc20a993bfa2426b8bf48.tar.gz volse-hubzilla-5a5466346cccecec257fc20a993bfa2426b8bf48.tar.bz2 volse-hubzilla-5a5466346cccecec257fc20a993bfa2426b8bf48.zip |
prepare for OS file storage, and add bbcode attachment link to mod/filestorage. This isn't beautiful, but it's a start.
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/filestorage.tpl | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/view/tpl/filestorage.tpl b/view/tpl/filestorage.tpl index a3eab83d5..7decd5ea6 100644 --- a/view/tpl/filestorage.tpl +++ b/view/tpl/filestorage.tpl @@ -7,10 +7,10 @@ {{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}}/edit">{{$edit}} | - <a href="{{$baseurl}}/{{$item.id}}/delete">{{$delete}} - <a href="page/{{$channel}}/{{$item.title}}">{{$title}}</a> {{$item.title}} | + <a href="{{$baseurl}}/{{$item.id}}/edit">{{$edit}}</a> | + <a href="{{$baseurl}}/{{$item.id}}/delete">{{$delete}}</a> | + [attachment]{{$item.download}},{{$item.rev}}[/attachment] | + <a href="attach/{{$item.download}}">{{$item.title}}</a> | {{$item.size}} bytes </div> |