diff options
author | Mario <mario@mariovavti.com> | 2023-06-23 12:35:41 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-06-23 12:35:41 +0000 |
commit | 12b2137a044ff6fd48239e207e5ad9350ceaf5e5 (patch) | |
tree | 40fbddc372fe7701a2953d9c7f2239baba0d25f5 /view | |
parent | cd26ead043f9cb92ca4d59e587480520cb51f117 (diff) | |
download | volse-hubzilla-12b2137a044ff6fd48239e207e5ad9350ceaf5e5.tar.gz volse-hubzilla-12b2137a044ff6fd48239e207e5ad9350ceaf5e5.tar.bz2 volse-hubzilla-12b2137a044ff6fd48239e207e5ad9350ceaf5e5.zip |
fix relaying and syncing in Activity::drop(), change wording for moderation request notices and redirect moderation request for reactions to mod moderate
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/search_item.tpl | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/view/tpl/search_item.tpl b/view/tpl/search_item.tpl index b2a99b64a..da5bac5dc 100644 --- a/view/tpl/search_item.tpl +++ b/view/tpl/search_item.tpl @@ -107,6 +107,10 @@ <div class="spinner s"></div> </div> </div> + {{if $item.mode === 'moderate'}} + <a href="moderate/{{$item.id}}/approve" class="btn btn-outline-success btn-sm">{{$item.approve}}</a> + <a href="moderate/{{$item.id}}/drop" class="btn btn-outline-danger btn-sm">{{$item.delete}}</a> + {{else}} {{if $item.star || $item.thread_action_menu || $item.drop.dropping}} <div class="btn-group"> <button type="button" class="btn btn-outline-secondary btn-sm dropdown-toggle" data-bs-toggle="dropdown"> @@ -127,6 +131,7 @@ </div> </div> {{/if}} + {{/if}} </div> {{if $item.star && $item.star.isstarred}} <div class="btn-group" id="star-button-{{$item.id}}"> @@ -139,14 +144,6 @@ <div class="dropdown-menu">{{$item.attachments}}</div> </div> {{/if}} - - <div class="wall-item-tools-left btn-group" id="wall-item-tools-left-{{$item.id}}"> - {{if $item.mode === 'moderate'}} - <a href="moderate/{{$item.id}}/approve" class="btn btn-success btn-sm">{{$item.approve}}</a> - <a href="moderate/{{$item.id}}/drop" class="btn btn-danger btn-sm">{{$item.delete}}</a> - {{/if}} - </div> - </div> </div> {{if $item.conv}} |