diff options
author | zotlabs <mike@macgirvin.com> | 2017-06-18 22:25:41 -0700 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2017-06-19 16:09:07 +0200 |
commit | 1472f85b162ea6f1ab9e19e94b86fc4a8ef074be (patch) | |
tree | 5bcfc4803bb4305790d7cce894cc96a072e86840 /view/tpl/search_item.tpl | |
parent | 3d6255ae24310a935caf4e74729aa7165f94aeda (diff) | |
download | volse-hubzilla-1472f85b162ea6f1ab9e19e94b86fc4a8ef074be.tar.gz volse-hubzilla-1472f85b162ea6f1ab9e19e94b86fc4a8ef074be.tar.bz2 volse-hubzilla-1472f85b162ea6f1ab9e19e94b86fc4a8ef074be.zip |
allow moderated comments like wordpress if permissions are compatible
Diffstat (limited to 'view/tpl/search_item.tpl')
-rwxr-xr-x | view/tpl/search_item.tpl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl index 66618a216..4ca6378b8 100755 --- a/view/tpl/search_item.tpl +++ b/view/tpl/search_item.tpl @@ -102,6 +102,17 @@ <div class="dropdown-menu">{{$item.attachments}}</div> </div> {{/if}} + {{if $item.mode === 'moderate'}} + + <div class="wall-item-tools-left btn-group"> + <a href="moderate/{{$item.id}}/approve" class="btn btn-outline-secondary btn-small">{{$item.approve}}</a> + <a href="moderate/{{$item.id}}/drop" class="btn btn-outline-secondary btn-small">{{$item.delete}}</a> + + </div> + + + + {{/if}} </div> </div> {{if $item.conv}} |