it is not possible to unshare files
This commit is contained in:
parent
9371944e43
commit
e447d978d3
|
@ -69,21 +69,12 @@
|
||||||
<th <?php if (!$_['fileHeader']):?>class="hidden"<?php endif; ?> id="headerDate">
|
<th <?php if (!$_['fileHeader']):?>class="hidden"<?php endif; ?> id="headerDate">
|
||||||
<span id="modified"><?php p($l->t( 'Modified' )); ?></span>
|
<span id="modified"><?php p($l->t( 'Modified' )); ?></span>
|
||||||
<?php if ($_['permissions'] & OCP\PERMISSION_DELETE): ?>
|
<?php if ($_['permissions'] & OCP\PERMISSION_DELETE): ?>
|
||||||
<!-- NOTE: Temporary fix to allow unsharing of files in root of Shared folder -->
|
|
||||||
<?php if ($_['dir'] == '/Shared'): ?>
|
|
||||||
<span class="selectedActions"><a href="" class="delete-selected">
|
|
||||||
<?php p($l->t('Unshare'))?>
|
|
||||||
<img class="svg" alt="<?php p($l->t('Unshare'))?>"
|
|
||||||
src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
|
|
||||||
</a></span>
|
|
||||||
<?php else: ?>
|
|
||||||
<span class="selectedActions"><a href="" class="delete-selected">
|
<span class="selectedActions"><a href="" class="delete-selected">
|
||||||
<?php p($l->t('Delete'))?>
|
<?php p($l->t('Delete'))?>
|
||||||
<img class="svg" alt="<?php p($l->t('Delete'))?>"
|
<img class="svg" alt="<?php p($l->t('Delete'))?>"
|
||||||
src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
|
src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
|
||||||
</a></span>
|
</a></span>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?php endif; ?>
|
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
Loading…
Reference in New Issue