summaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/js
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2016-07-07 09:54:32 +0200
committerMorris Jobke <hey@morrisjobke.de>2016-07-07 15:10:04 +0200
commitbeae00a5e5457c41994e54c7f0563245d9ccf5ce (patch)
tree98eb2b40b0268a63403e88901cddba98ac510734 /apps/files_sharing/js
parent43b26b9506bd5fd4b46713d83980041c63d7b06d (diff)
downloadnextcloud-server-beae00a5e5457c41994e54c7f0563245d9ccf5ce.tar.gz
nextcloud-server-beae00a5e5457c41994e54c7f0563245d9ccf5ce.zip
Simplify test code and don't show anything if no date is set
Diffstat (limited to 'apps/files_sharing/js')
-rw-r--r--apps/files_sharing/js/sharedfilelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_sharing/js/sharedfilelist.js b/apps/files_sharing/js/sharedfilelist.js
index ca87acd6ceb..dccd6027b02 100644
--- a/apps/files_sharing/js/sharedfilelist.js
+++ b/apps/files_sharing/js/sharedfilelist.js
@@ -101,7 +101,7 @@
text = OC.Util.relativeModifiedDate(expirationTimestamp);
} else {
formatted = t('files_sharing', 'No expiration date set');
- text = t('files_sharing', 'Never');
+ text = '';
modifiedColor = 160;
}
td = $('<td></td>').attr({"class": "date"});