aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/search_item.tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2015-12-17 19:39:26 +0100
committerMario Vavti <mario@mariovavti.com>2015-12-17 19:39:26 +0100
commitf78e9001f3d1b15b91787e956aa3555574dc2371 (patch)
tree14df7154054b1f56c2c4d3f7c2abd92196d4cd9a /view/tpl/search_item.tpl
parentdee184139480f6a20fdc68a559cf9c422543abd4 (diff)
downloadvolse-hubzilla-f78e9001f3d1b15b91787e956aa3555574dc2371.tar.gz
volse-hubzilla-f78e9001f3d1b15b91787e956aa3555574dc2371.tar.bz2
volse-hubzilla-f78e9001f3d1b15b91787e956aa3555574dc2371.zip
fix search item attachment rendering
Diffstat (limited to 'view/tpl/search_item.tpl')
-rwxr-xr-xview/tpl/search_item.tpl11
1 files changed, 6 insertions, 5 deletions
diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl
index b2689c7ba..24e1b97d5 100755
--- a/view/tpl/search_item.tpl
+++ b/view/tpl/search_item.tpl
@@ -65,11 +65,6 @@
<span class="tag">{{$item.folders}}</span>
</div>
{{/if}}
- {{if $item.attachments}}
- <div class="body-tags" id="item-attachments">
- <span class='tag'>{{$item.attachments}}</span>
- </div>
- {{/if}}
<div class="clear"></div>
</div>
{{/if}}
@@ -88,6 +83,12 @@
{{/if}}
</ul>
</div>
+ {{if $item.attachments}}
+ <div class="wall-item-tools-left btn-group">
+ <button type="button" class="btn btn-default btn-sm wall-item-like dropdown-toggle" data-toggle="dropdown" id="attachment-menu-{{$item.id}}"><i class="icon-paperclip"></i></button>
+ <ul class="dropdown-menu" role="menu" aria-labelledby="attachment-menu-{{$item.id}}">{{$item.attachments}}</ul>
+ </div>
+ {{/if}}
<div class="clear"></div>
</div>
<div class="clear"></div>