diff options
author | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-05 17:27:09 +0100 |
---|---|---|
committer | John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com> | 2018-11-05 17:27:09 +0100 |
commit | e0de0a122f477d1e445f4f36c85c7462c5c66eb1 (patch) | |
tree | 660c1f119d7db105b28971c44b49401ecfdfacc2 /apps/files/templates | |
parent | 934d08b2e8b0f6f8616882b9c08d1bec4db22eb2 (diff) | |
download | nextcloud-server-e0de0a122f477d1e445f4f36c85c7462c5c66eb1.tar.gz nextcloud-server-e0de0a122f477d1e445f4f36c85c7462c5c66eb1.zip |
Disable grid for ie
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/templates')
-rw-r--r-- | apps/files/templates/list.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/apps/files/templates/list.php b/apps/files/templates/list.php index 27403594368..2bc94ca7afb 100644 --- a/apps/files/templates/list.php +++ b/apps/files/templates/list.php @@ -24,10 +24,13 @@ <?php endif;?> <input type="hidden" class="max_human_file_size" value="(max <?php isset($_['uploadMaxHumanFilesize']) ? p($_['uploadMaxHumanFilesize']) : ''; ?>)"> + <!-- IF NOT IE, SHOW GRIDVIEW --> + <?php if (!$_['isIE']) { ?> <input type="checkbox" class="hidden-visually" id="showgridview" <?php if($_['showgridview']) { ?>checked="checked" <?php } ?>/> <label id="view-toggle" for="showgridview" class="button <?php p($_['showgridview'] ? 'icon-toggle-filelist' : 'icon-toggle-pictures') ?>" title="<?php p($l->t('Toggle grid view'))?>"></label> + <?php } ?> </div> <div id="emptycontent" class="hidden"> |