aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-12-16 08:26:19 +0000
committerMario <mario@mariovavti.com>2020-12-16 08:26:19 +0000
commit27df896a9cb1f713c49e290f2a4e7d9860aff1d5 (patch)
tree8bd8bf8581b18de1bf45838d3dd5b2755abb631a /view/tpl
parent8188a551f3bf9cb817338241985fe0bd45cafd43 (diff)
downloadvolse-hubzilla-27df896a9cb1f713c49e290f2a4e7d9860aff1d5.tar.gz
volse-hubzilla-27df896a9cb1f713c49e290f2a4e7d9860aff1d5.tar.bz2
volse-hubzilla-27df896a9cb1f713c49e290f2a4e7d9860aff1d5.zip
files_ng: implement lockview
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/cloud_directory.tpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/view/tpl/cloud_directory.tpl b/view/tpl/cloud_directory.tpl
index 618de418f..6f70c6bfe 100644
--- a/view/tpl/cloud_directory.tpl
+++ b/view/tpl/cloud_directory.tpl
@@ -152,7 +152,12 @@
<td><i class="fa {{$item.icon_from_type}}" title="{{$item.type}}"></i></td>
<td><a href="{{$item.rel_path}}" class="p-2" draggable="false">{{$item.name}}</a></td>
<td>{{$item.terms}}</td>
- <td class="cloud-index-tool p-2">{{if $item.lockstate == 'lock'}}<i class="fa fa-fw fa-{{$item.lockstate}}"></i>{{/if}}</td>
+ <td class="cloud-index-tool p-2">
+ {{if $item.lockstate == 'lock'}}
+ <i class="fa fa-lock lockview" data-toggle="dropdown" onclick="lockview('attach',{{$item.attach_id}});"></i>
+ <ul id="panel-{{$item.attach_id}}" class="lockview-panel dropdown-menu dropdown-menu-right"></ul>
+ {{/if}}
+ </td>
<td class="cloud-index-tool">
{{if ($item.is_owner || $item.is_creator) && $item.attach_id}}
<div class="dropdown">