aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-01-06 18:20:14 -0800
committerfriendica <info@friendica.com>2014-01-06 18:20:14 -0800
commite49e6c0d2a409b71937b126ebd3d0bbd6be6d676 (patch)
tree3052cd8ed6ae25af70db9841e2c691b55889450c /view/tpl
parent5a5466346cccecec257fc20a993bfa2426b8bf48 (diff)
downloadvolse-hubzilla-e49e6c0d2a409b71937b126ebd3d0bbd6be6d676.tar.gz
volse-hubzilla-e49e6c0d2a409b71937b126ebd3d0bbd6be6d676.tar.bz2
volse-hubzilla-e49e6c0d2a409b71937b126ebd3d0bbd6be6d676.zip
special handling for directories
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/filestorage.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/filestorage.tpl b/view/tpl/filestorage.tpl
index 7decd5ea6..0089f7918 100644
--- a/view/tpl/filestorage.tpl
+++ b/view/tpl/filestorage.tpl
@@ -10,7 +10,7 @@
<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> |
+ {{if ! $item.dir}}<a href="attach/{{$item.download}}">{{/if}}{{$item.title}}{{if ! $item.dir}}</a>{{/if}} |
{{$item.size}} bytes
</div>