diff options
author | cherguimalih <ilyes.chergui-malih@etu.unistra.fr> | 2021-03-23 17:04:26 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 23:17:31 +0200 |
commit | b9fec49b66b895fb04dc35ad8bb19260f309a5b7 (patch) | |
tree | fadf15bb701239395733b94079f2794547c1f300 /templates | |
parent | 31c4e2830ade156def01186da564b532ca96b5e9 (diff) |
✨ShareController : Add intro in links
Signed-off-by: cherguimalih <ilyes.chergui-malih@etu.unistra.fr>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/part.content.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/part.content.php b/templates/part.content.php index 6a93c537f..3183991f9 100644 --- a/templates/part.content.php +++ b/templates/part.content.php @@ -159,16 +159,16 @@ <div ng-if="Share.isSocialAppEnabled('facebook')" class="col-4"> <a target="_blank" class="icon-dropdown icon-facebook pr-5" - ng-href="{{ Share.getFacebookUrl(item.url) }}"></a> + ng-href="{{ Share.getFacebookUrl(item.url, item.intro) }}"></a> </div> <div ng-if="Share.isSocialAppEnabled('twitter')" class="col-4"> <a target="_blank" class="icon-dropdown icon-twitter pr-5" - ng-href="{{ Share.getTwitterUrl(item.url) }}"></a> + ng-href="{{ Share.getTwitterUrl(item.url, item.intro) }}"></a> </div> <div ng-if="Share.isSocialAppEnabled('email')" class="col-4"> <a class="icon-dropdown icon-mail pr-5" - ng-href="{{ Share.getEmailUrl(item.url, '<?php p($l->t('I wanted you to see this article')) ?>', '<?php p($l->t('Check out this article')) ?>') }}"></a> + ng-href="{{ Share.getEmailUrl(item.url, '<?php p($l->t('I wanted you to see this article')) ?>', '<?php p($l->t('Check out this article')) ?>', item.intro)}}"></a> </div> </div> </div> |