From 98f3e4cbd39dca3c111a711b0aaaa53428eb14a6 Mon Sep 17 00:00:00 2001 From: Mario Date: Sat, 2 Jan 2021 18:53:23 +0000 Subject: set is_owner does not need to be a per item flag. fix post button visible for collections --- view/tpl/cloud_directory.tpl | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'view') diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl index 5886391bb..84c9f2e86 100644 --- a/view/tpl/cloud_directory.tpl +++ b/view/tpl/cloud_directory.tpl @@ -35,8 +35,8 @@ {{$item.name}} - {{if $item.is_owner}} - {{* add file tools here*}} + {{if $is_owner}} + {{* add file tools here *}} {{/if}} {{/foreach}} @@ -160,25 +160,25 @@ {{/if}} - {{if ($item.is_owner || $item.is_creator) && $item.attach_id}} + {{if ($is_owner || $item.is_creator) && $item.attach_id}}