diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-22 14:10:35 -0700 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-22 14:10:35 -0700 |
commit | e6aa7a8643517755387ca4738cee6e45313449ae (patch) | |
tree | 9db3c538991b2b854483677bdedf5611257ef77a /apps | |
parent | d2fa0f5ff208dc5e043109a8d08b58bf344d24b3 (diff) | |
parent | e23433f7718c41cf385ded0c50b8c185836eea2b (diff) | |
download | nextcloud-server-e6aa7a8643517755387ca4738cee6e45313449ae.tar.gz nextcloud-server-e6aa7a8643517755387ca4738cee6e45313449ae.zip |
Merge pull request #5467 from owncloud/fixing-5063-master
display the original file name - this will change in case of renames
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files_sharing/templates/public.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/apps/files_sharing/templates/public.php b/apps/files_sharing/templates/public.php index 1f5453468b4..ef4c1c433da 100644 --- a/apps/files_sharing/templates/public.php +++ b/apps/files_sharing/templates/public.php @@ -15,10 +15,10 @@ <div class="header-right"> <?php if (isset($_['folder'])): ?> <span id="details"><?php p($l->t('%s shared the folder %s with you', - array($_['displayName'], $_['fileTarget']))) ?></span> + array($_['displayName'], $_['filename']))) ?></span> <?php else: ?> <span id="details"><?php p($l->t('%s shared the file %s with you', - array($_['displayName'], $_['fileTarget']))) ?></span> + array($_['displayName'], $_['filename']))) ?></span> <?php endif; ?> @@ -88,7 +88,7 @@ <?php else: ?> <ul id="noPreview"> <li class="error"> - <?php p($l->t('No preview available for').' '.$_['fileTarget']); ?><br /> + <?php p($l->t('No preview available for').' '.$_['filename']); ?><br /> <a href="<?php p($_['downloadURL']); ?>" id="download"><img class="svg" alt="Download" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>" /><?php p($l->t('Download'))?></a> |