diff options
author | Mario <mario@mariovavti.com> | 2023-06-23 09:13:51 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-06-23 09:13:51 +0000 |
commit | cd26ead043f9cb92ca4d59e587480520cb51f117 (patch) | |
tree | 6ffd776a1fa31f6dfb8462bd71c6a0b62157d3b2 /view/tpl/conv_item.tpl | |
parent | 6a560cfec4628ac5c727578c1360f84c569ee6b7 (diff) | |
download | volse-hubzilla-cd26ead043f9cb92ca4d59e587480520cb51f117.tar.gz volse-hubzilla-cd26ead043f9cb92ca4d59e587480520cb51f117.tar.bz2 volse-hubzilla-cd26ead043f9cb92ca4d59e587480520cb51f117.zip |
implement optional moderation of unsolicited comments, minor css fixes and some more work on ocap
Diffstat (limited to 'view/tpl/conv_item.tpl')
-rw-r--r-- | view/tpl/conv_item.tpl | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 3f760998d..cd2130295 100644 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -7,7 +7,7 @@ <div id="thread-wrapper-{{$item.id}}" class="thread-wrapper{{if $item.toplevel}} {{$item.toplevel}} generic-content-wrapper h-entry {{else}} u-comment h-cite{{/if}}" data-b64mids='{{$item.mids}}'> <a name="item_{{$item.id}}" ></a> <div class="wall-item-outside-wrapper{{if $item.is_comment}} comment{{/if}}{{if $item.previewing}} preview{{/if}}" id="wall-item-outside-wrapper-{{$item.id}}" > - <div class="clearfix wall-item-content-wrapper{{if $item.is_comment}} comment{{/if}}" id="wall-item-content-wrapper-{{$item.id}}"> + <div class="rounded clearfix wall-item-content-wrapper{{if $item.is_comment}} comment{{/if}}" id="wall-item-content-wrapper-{{$item.id}}"> {{if $item.photo}} <div class="wall-photo-item" id="wall-photo-item-{{$item.id}}"> {{$item.photo}} @@ -120,6 +120,10 @@ </div> </div> {{/if}} + {{if $item.moderate}} + <a href="#" onclick="moderate_approve({{$item.id}}); return false;" class="btn btn-sm btn-outline-success"><i class="fa fa-check" ></i> {{$item.moderate_approve}}</a> + <a href="#" onclick="moderate_drop({{$item.id}}); return false;" class="btn btn-sm btn-outline-danger"><i class="fa fa-trash-o" ></i> {{$item.moderate_delete}}</a> + {{else}} <div class="btn-group"> {{if $item.like}} <button type="button" title="{{$item.like.0}}" class="btn btn-outline-secondary btn-sm" onclick="dolike({{$item.id}},'like'); return false;"> @@ -230,6 +234,7 @@ </div> </div> </div> + {{/if}} </div> {{if $item.responses || $item.attachments}} |