diff options
author | Mario <mario@mariovavti.com> | 2023-06-27 14:53:23 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-06-27 14:53:23 +0000 |
commit | 750641ef196d9e113b0e80da9734f70400b55652 (patch) | |
tree | ebfa9136bde34242294a4ae896e4b3ab7089286d /view/tpl | |
parent | fb48dfc08246d8f1eca2fa13b7c976bd29058693 (diff) | |
download | volse-hubzilla-750641ef196d9e113b0e80da9734f70400b55652.tar.gz volse-hubzilla-750641ef196d9e113b0e80da9734f70400b55652.tar.bz2 volse-hubzilla-750641ef196d9e113b0e80da9734f70400b55652.zip |
implement inline moderation of reactions
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/conv_item.tpl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index cd2130295..5f6c4f6c6 100644 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -121,8 +121,8 @@ </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> + <a href="moderate/{{$item.id}}/approve" 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="moderate/{{$item.id}}/drop" 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}} |