Skip to content

Commit 3cfab16

Browse files
committed
fixup! expand actions.creatable to the whole width
Signed-off-by: hamza221 <hamzamahjoubi221@gmail.com>
1 parent 0cfdce5 commit 3cfab16

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

apps/files/templates/list.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,10 @@
1717
<input type="hidden" id="dirToken" name="dirToken" value="<?php p($_['dirToken']) ?>" />
1818
<?php endif; ?>
1919
<input type="hidden" class="max_human_file_size" value="(max <?php isset($_['uploadMaxHumanFilesize']) ? p($_['uploadMaxHumanFilesize']) : ''; ?>)">
20-
<input type="checkbox" class="hidden-visually" id="showgridview" aria-label="<?php p($l->t('Toggle grid view')) ?>" <?php if ($_['showgridview']) { ?>checked="checked" <?php } ?> />
21-
<label id="view-toggle" for="showgridview" tabindex="0" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>" title="<?php p($_['showgridview'] ? $l->t('Show list view') : $l->t('Show grid view')) ?>"></label>
20+
<?php if (!isset($_["isPublic"])) : ?>
21+
<input type="checkbox" class="hidden-visually notPublic" id="showgridview" aria-label="<?php p($l->t('Toggle grid view')) ?>" <?php if ($_['showgridview']) { ?>checked="checked" <?php } ?> />
22+
<label id="view-toggle" for="showgridview" tabindex="0" class="button notPublic <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>" title="<?php p($_['showgridview'] ? $l->t('Show list view') : $l->t('Show grid view')) ?>"></label>
23+
<?php endif; ?>
2224
</div>
2325
<div class="filelist-header"></div>
2426

0 commit comments

Comments
 (0)