diff options
author | Mario <mario@mariovavti.com> | 2023-11-25 17:12:28 +0100 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2023-11-25 17:12:28 +0100 |
commit | 0fd8e02a884a2b040dca62ab5d9674db5f6a070b (patch) | |
tree | 586ee43f32f6f14368c09026f21dcd3244ea24b6 /view/tpl/cloud_directory.tpl | |
parent | 82e704ec5b107823c09f1387e9091adee53a4c2d (diff) | |
parent | 55c4bfb67009c598f25b1a8189604bfffa73dfbb (diff) | |
download | volse-hubzilla-8.8.tar.gz volse-hubzilla-8.8.tar.bz2 volse-hubzilla-8.8.zip |
Merge branch '8.8RC'8.8
Diffstat (limited to 'view/tpl/cloud_directory.tpl')
-rw-r--r-- | view/tpl/cloud_directory.tpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index 7bc298203..9b8d85ab4 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -156,7 +156,7 @@ {{/if}} </td> <td class="cloud-index-tool"> - {{if ($is_owner || $item.is_creator) && $item.attach_id}} + {{if ($is_owner || ($item.is_creator && $has_perms)) && $item.attach_id}} <div class="dropdown"> <button class="btn btn-link btn-sm" id="dropdown-button-{{$item.attach_id}}" data-bs-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i class="fa fa-fw fa-ellipsis-v"></i> @@ -203,6 +203,7 @@ <td class="d-none d-md-table-cell p-2">{{$item.size_formatted}}</td> <td class="d-none d-md-table-cell p-2">{{$item.last_modified}}</td> </tr> + {{if ($is_owner || ($item.is_creator && $has_perms)) && $item.attach_id}} <tr id="cloud-tools-{{$item.attach_id}}" class="cloud-tools"> <td id="attach-edit-panel-{{$item.attach_id}}" class="attach-edit-panel" colspan="8"> <form id="attach_edit_form_{{$item.attach_id}}" action="attach_edit" method="post" class="acl-form" data-form_id="attach_edit_form_{{$item.attach_id}}" data-allow_cid='{{$item.allow_cid}}' data-allow_gid='{{$item.allow_gid}}' data-deny_cid='{{$item.deny_cid}}' data-deny_gid='{{$item.deny_gid}}'> @@ -266,6 +267,7 @@ </form> </td> </tr> + {{/if}} {{/foreach}} </table> {{/if}} |