From 6893b2fe0d9d8715dab5f0748d514fc1c6bfb259 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?John=20Molakvo=C3=A6=20=28skjnldsv=29?= Date: Mon, 26 Nov 2018 18:37:58 +0100 Subject: [PATCH] Better identification of the public link shares MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: John Molakvoæ (skjnldsv) --- core/js/share/sharedialoglinkshareview.handlebars | 3 ++- core/js/sharedialoglinkshareview.js | 1 + core/js/sharetemplates.js | 4 ++-- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/core/js/share/sharedialoglinkshareview.handlebars b/core/js/share/sharedialoglinkshareview.handlebars index 4f58f632d1b6a..5889806e1cac0 100644 --- a/core/js/share/sharedialoglinkshareview.handlebars +++ b/core/js/share/sharedialoglinkshareview.handlebars @@ -17,7 +17,8 @@ {{/if}} {{#each linkShares}}
  • -
    {{linkShareLabel}} +
    + {{linkShareLabel}} diff --git a/core/js/sharedialoglinkshareview.js b/core/js/sharedialoglinkshareview.js index 989c10c2c570b..716df70c376b2 100644 --- a/core/js/sharedialoglinkshareview.js +++ b/core/js/sharedialoglinkshareview.js @@ -832,6 +832,7 @@ newShareTitle: t('core', 'New share link'), copyLabel: t('core', 'Copy link'), showPending: this.showPending === share.id, + linkShareCreationDate: t('core', 'Created on {time}', { time: moment(share.stime * 1000).format('LLLL') }) }) }, diff --git a/core/js/sharetemplates.js b/core/js/sharetemplates.js index 049ee90aa6fa7..4d827bbe83fec 100644 --- a/core/js/sharetemplates.js +++ b/core/js/sharetemplates.js @@ -36,8 +36,8 @@ templates['sharedialoglinkshareview'] = template({"1":function(container,depth0, return "
  • \n
    \n
    \n " + alias4(((helper = (helper = helpers.linkShareLabel || (depth0 != null ? depth0.linkShareLabel : depth0)) != null ? helper : alias2),(typeof helper === alias3 ? helper.call(alias1,{"name":"linkShareLabel","hash":{},"data":data}) : helper))) + "\n \n \n