summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 8bcd33d14..e02713bee 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -139,17 +139,17 @@
<p class="label-group"> <?php p($l->t('Share on social media')) ?> </p>
<div class="row">
- <div class="col-4">
+ <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>
</div>
- <div class="col-4">
+ <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>
</div>
- <div class="col-4">
+ <div ng-if="Share.isSocialAppEnabled('email')" class="col-4">
<a class="icon-dropdown icon-mail pr-5"
ng-href="mailto:?subject=<?php p($l->t('I wanted you to see this article')) ?>&amp;body=<?php p($l->t('Check out this article')) ?>{{ ::item.url }}"></a>
</div>