aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorredmatrix <redmatrix@redmatrix.me>2015-12-17 14:27:07 -0800
committerredmatrix <redmatrix@redmatrix.me>2015-12-17 14:27:07 -0800
commit539d06f02dc31a3b16d8c0cfa0cc60b64a78088e (patch)
treea68389bb3687a08fa1a15dfe0e26c9f5f878d75f /view
parent9c23fe5ab613ee1fa192d0ca87d68aff1eab57d1 (diff)
parentf78e9001f3d1b15b91787e956aa3555574dc2371 (diff)
downloadvolse-hubzilla-539d06f02dc31a3b16d8c0cfa0cc60b64a78088e.tar.gz
volse-hubzilla-539d06f02dc31a3b16d8c0cfa0cc60b64a78088e.tar.bz2
volse-hubzilla-539d06f02dc31a3b16d8c0cfa0cc60b64a78088e.zip
Merge https://github.com/redmatrix/hubzilla into pending_merge
Diffstat (limited to 'view')
-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>