Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Ng <chrng8@gmail.com>2022-07-04 22:20:49 +0300
committerChristopher Ng <chrng8@gmail.com>2022-07-04 22:20:49 +0300
commitf5236cde1a2b9ec87794768568155344fa3a4461 (patch)
treef44a68d86d87621d1c7ae30826e76ccf84706492 /apps/files_sharing/templates
parentec465bf247ec2e9fd3df13f6a289ecc5fb6e4e2a (diff)
Change tooltip title of files grid view toggle dynamicallyenh/a11y-dynamic-grid-toggle-tooltip
Signed-off-by: Christopher Ng <chrng8@gmail.com>
Diffstat (limited to 'apps/files_sharing/templates')
-rw-r--r--apps/files_sharing/templates/public.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php
index 889242fded1..d49c7a01b63 100644
--- a/apps/files_sharing/templates/public.php
+++ b/apps/files_sharing/templates/public.php
@@ -52,7 +52,7 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
<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>
+ title="<?php p($_['showgridview'] ? $l->t('Show list view') : $l->t('Show grid view'))?>"></label>
<?php } ?>
<!-- files listing -->
@@ -83,8 +83,8 @@ $maxUploadFilesize = min($upload_max_filesize, $post_max_size);
<?php p($l->t('Download'))?>
</a>
<?php } ?>
- </div>
- <?php } ?>
+ </div>
+ <?php } ?>
<?php endif; ?>
<?php if ($_['previewURL'] === $_['downloadURL'] && !$_['hideDownload']): ?>
<div class="directDownload">