aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/search_item.tpl
diff options
context:
space:
mode:
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>