diff options
Diffstat (limited to 'view/tpl/item_attach.tpl')
-rw-r--r-- | view/tpl/item_attach.tpl | 8 |
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}} |