diff options
author | RedMatrix <info@friendica.com> | 2014-05-01 21:29:46 +1000 |
---|---|---|
committer | RedMatrix <info@friendica.com> | 2014-05-01 21:29:46 +1000 |
commit | 203abae473970b87cc29927f4c2f95b19e290937 (patch) | |
tree | 4b7836f6c1e58c65081354af7ac9434e8ca1dea0 /view/tpl/item_attach.tpl | |
parent | 8a7571e4f62778b51ffc9fcb25a5ddd1e531a29e (diff) | |
parent | 40d8858e5a8de2dfc5b9945607482491ebbdccd7 (diff) | |
download | volse-hubzilla-203abae473970b87cc29927f4c2f95b19e290937.tar.gz volse-hubzilla-203abae473970b87cc29927f4c2f95b19e290937.tar.bz2 volse-hubzilla-203abae473970b87cc29927f4c2f95b19e290937.zip |
Merge pull request #438 from git-marijus/master
revision/redesign of conv_item.tpl
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}} |