aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/item_attach.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-10-14 22:14:19 +0200
committerMario Vavti <mario@mariovavti.com>2015-10-14 22:14:19 +0200
commitb4e83b65375e62259671749c089d9cd7a2a2967a (patch)
tree3c4b8e18b2dc439530f9515147af4424e1726be1 /view/tpl/item_attach.tpl
parentd616099de6984ad8d45e3b8908367bf5a0b8ab31 (diff)
downloadvolse-hubzilla-b4e83b65375e62259671749c089d9cd7a2a2967a.tar.gz
volse-hubzilla-b4e83b65375e62259671749c089d9cd7a2a2967a.tar.bz2
volse-hubzilla-b4e83b65375e62259671749c089d9cd7a2a2967a.zip
allow photo-items to appear full width if large photos feature is enabled. in prepare_body() split off mentions, tags, categories folders and attachments from body for easier theming. some other little fixes.
Diffstat (limited to 'view/tpl/item_attach.tpl')
-rw-r--r--view/tpl/item_attach.tpl9
1 files changed, 3 insertions, 6 deletions
diff --git a/view/tpl/item_attach.tpl b/view/tpl/item_attach.tpl
index eeea25967..7638f39e7 100644
--- a/view/tpl/item_attach.tpl
+++ b/view/tpl/item_attach.tpl
@@ -1,8 +1,5 @@
-<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}}
-</div>
+{{foreach $attaches as $a}}
+<a href="{{$a.url}}" title="{{$a.title}}" class="btn btn-xs btn-default"><i class="{{$a.icon}} attach-icons"></i>&nbsp;{{$a.label}}</a>
+{{/foreach}}
{{/if}}