aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/search_item.tpl
diff options
context:
space:
mode:
authorjeroenpraat <jeroenpraat@xs4all.nl>2016-12-19 16:52:17 +0100
committerjeroenpraat <jeroenpraat@xs4all.nl>2016-12-19 16:52:17 +0100
commit468fb3c77a60fe38a021502bce5ca6a4e4c211a4 (patch)
tree0a6c99558d6815157a41d46ae8e50ecb0899e527 /view/tpl/search_item.tpl
parent3a4bd27333a90191868393f747fad662a51753f0 (diff)
parent3ad3d3037f8ba9643952bbf64e70c5edf302a73b (diff)
downloadvolse-hubzilla-468fb3c77a60fe38a021502bce5ca6a4e4c211a4.tar.gz
volse-hubzilla-468fb3c77a60fe38a021502bce5ca6a4e4c211a4.tar.bz2
volse-hubzilla-468fb3c77a60fe38a021502bce5ca6a4e4c211a4.zip
Merge branch 'dev' of https://github.com/redmatrix/hubzilla into dev
Diffstat (limited to 'view/tpl/search_item.tpl')
-rwxr-xr-xview/tpl/search_item.tpl13
1 files changed, 10 insertions, 3 deletions
diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl
index 51fa8b8dc..a490cb473 100755
--- a/view/tpl/search_item.tpl
+++ b/view/tpl/search_item.tpl
@@ -74,13 +74,20 @@
<i class="fa fa-caret-down"></i>
</button>
<ul class="dropdown-menu">
- {{if $item.item_photo_menu}}
- {{$item.item_photo_menu}}
+ {{if $item.thread_action_menu}}
+ {{foreach $item.thread_action_menu as $mitem}}
+ <li role="presentation"><a role="menuitem" {{if $mitem.href}}href="{{$mitem.href}}"{{/if}} {{if $mitem.action}}onclick="{{$mitem.action}}"{{/if}} {{if $mitem.title}}title="{{$mitem.title}}"{{/if}} ><i class="fa fa-{{$mitem.icon}}"></i> {{$mitem.title}}</a></li>
+ {{/foreach}}
{{/if}}
{{if $item.drop.dropping}}
- <li role="presentation" class="divider"></li>
<li><a href="item/drop/{{$item.id}}" onclick="return confirmDelete();" title="{{$item.drop.delete}}" ><i class="fa fa-trash-o"></i> {{$item.drop.delete}}</a></li>
{{/if}}
+ {{if $item.thread_author_menu}}
+ <li role="presentation" class="divider"></li>
+ {{foreach $item.thread_author_menu as $mitem}}
+ <li role="presentation"><a role="menuitem" {{if $mitem.href}}href="{{$mitem.href}}"{{/if}} {{if $mitem.action}}onclick="{{$mitem.action}}"{{/if}} {{if $mitem.title}}title="{{$mitem.title}}"{{/if}} >{{$mitem.title}}</a></li>
+ {{/foreach}}
+ {{/if}}
</ul>
</div>
{{if $item.attachments}}