aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/item_attach.tpl
diff options
context:
space:
mode:
authormarijus <mario@mariovavti.com>2014-05-01 12:51:34 +0200
committermarijus <mario@mariovavti.com>2014-05-01 12:51:34 +0200
commitdaf497cf465c68dade3f57c026db415c04f34e6f (patch)
tree2e9cd93fcc324d16a468fe0686410527a4464384 /view/tpl/item_attach.tpl
parent8a7571e4f62778b51ffc9fcb25a5ddd1e531a29e (diff)
downloadvolse-hubzilla-daf497cf465c68dade3f57c026db415c04f34e6f.tar.gz
volse-hubzilla-daf497cf465c68dade3f57c026db415c04f34e6f.tar.bz2
volse-hubzilla-daf497cf465c68dade3f57c026db415c04f34e6f.zip
revision/redesign of conv_item.tpl
Diffstat (limited to 'view/tpl/item_attach.tpl')
-rw-r--r--view/tpl/item_attach.tpl8
1 files changed, 5 insertions, 3 deletions
diff --git a/view/tpl/item_attach.tpl b/view/tpl/item_attach.tpl
index 7dc8dfd59..eeea25967 100644
--- a/view/tpl/item_attach.tpl
+++ b/view/tpl/item_attach.tpl
@@ -1,6 +1,8 @@
<div class="clear"></div>
+{{if $attaches}}
<div class="body-attach">
-{{foreach $attaches as $a}}
-<a href="{{$a.url}}" title="{{$a.title}}" class="attachlink" ><i class="icon-paper-clip attach-icons attach-clip"></i><i class="{{$a.icon}} attach-icons"></i></a>
-{{/foreach}}
+ {{foreach $attaches as $a}}
+ <a href="{{$a.url}}" title="{{$a.title}}" class="attachlink" ><i class="icon-paper-clip attach-icons attach-clip"></i><i class="{{$a.icon}} attach-icons"></i></a>
+ {{/foreach}}
</div>
+{{/if}}