From 2d507c41446038a0f9e37ff2e9025fd7e7e0fbb3 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Wed, 5 Oct 2016 20:35:46 +0200 Subject: [PATCH] align layout of other link shares Signed-off-by: Morris Jobke --- core/js/sharedialogshareelistview.js | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/core/js/sharedialogshareelistview.js b/core/js/sharedialogshareelistview.js index caeb082163f..ee51f1d9e3d 100644 --- a/core/js/sharedialogshareelistview.js +++ b/core/js/sharedialogshareelistview.js @@ -82,10 +82,15 @@ '' + '{{/each}}' + '{{#each linkReshares}}' + - '
  • ' + - '' + - '{{shareInitiatorDisplayName}}' + - '{{unshareLabel}}' + + '' + + '{{#if avatarEnabled}}' + + '
    ' + + '{{/if}}' + + '' + t('core', '{{shareInitiatorDisplayName}} shared via link') + '' + + + '' + + '{{unshareLabel}}' + + '' + '
  • ' + '{{/each}}' + '' @@ -216,6 +221,7 @@ getLinkReshares: function() { var universal = { unshareLabel: t('core', 'Unshare'), + avatarEnabled: this.configModel.areAvatarsEnabled(), }; if(!this.model.hasUserShares()) {