Skip to content
This repository has been archived by the owner on Jan 15, 2024. It is now read-only.

Commit

Permalink
Remove legacy #dir element in files list
Browse files Browse the repository at this point in the history
Init upstream commit: 8be9b04981c4f0bdf0a2b8d424f55c797ad90a32

Removed legacy #dir input element in the DOM. Apps should use OCA.Files.App.currentFileList or OCA.Sharing.PublicApp.fileList and call getCurrentDirectory() to retrieve the current directory and changeDirectory() to change it. Signed-off-by: Vincent Petry <vincent@nextcloud.com>
  • Loading branch information
tsi-nmc-build committed Jun 8, 2023
1 parent 50f6203 commit 52ebe34
Showing 1 changed file with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions magentacloud25/apps/files_trashbin/templates/index.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
<?php /** @var \OCP\IL10N $l */ ?>
<div class="files-controls">
<div></div>
</div>

<div class="emptyfilelist emptycontent hidden">
<div class="icon-delete"></div>
<h2><?php p($l->t('No deleted files')); ?></h2>
<p><?php p($l->t('You will be able to recover deleted files from here')); ?></p>
</div>

<div class="nofilterresults emptycontent hidden">
<div class="icon-search"></div>
<h2><?php p($l->t('No entries found in this folder')); ?></h2>
<p></p>
</div>

<table class="files-filestable list-container <?php p($_['showgridview'] ? 'view-grid' : '') ?>">
<thead>
<tr>
<th class="hidden column-selection">
<input type="checkbox" id="select_all_trash" class="select-all checkbox"/>
<label for="select_all_trash">
<span class="hidden-visually"><?php p($l->t('Select all'))?></span>
</label>
</th>
<th class="hidden column-name">
<div class="column-name-container">
<a class="name sort columntitle" data-sort="name"><span><?php p($l->t('Name')); ?></span><span class="sort-indicator"></span></a>
<span class='selectedActions'>
<a href="#" class="actions-selected">
<span class="icon icon-more"></span>
<span><?php p($l->t('Actions'))?></span>
</a>
</span>
</div>
</th>
<th class="hidden column-mtime">
<a class="columntitle" data-sort="mtime"><span><?php p($l->t('Deleted')); ?></span><span class="sort-indicator"></span></a>
</th>
</tr>
</thead>
<tbody class="files-fileList">
</tbody>
<tfoot>
</tfoot>
</table>

0 comments on commit 52ebe34

Please sign in to comment.