summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
Diffstat (limited to 'templates')
-rw-r--r--templates/part.content.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/templates/part.content.php b/templates/part.content.php
index 1e70a80b9..170bc77ad 100644
--- a/templates/part.content.php
+++ b/templates/part.content.php
@@ -130,12 +130,11 @@
<a
class="icon-category-installed pr-3"
ng-repeat="user in Share.userList"
- ng-click="Share.shareItem(item.id, user.value.shareWith)">
+ ng-click="Share.shareItem(item.id, user.value.shareWith)">
{{ user.value.shareWith }}
<span class="right" style="margin-top: 1.4em; margin-right: 1em"
- ng-class="{'icon-loading-small': App.loading.isLoading(user.value.shareWith)}">
+ ng-class="{'icon-loading-small': App.loading.isLoading(user.value.shareWith), 'icon-checkmark': !App.loading.isLoading(user.value.shareWith) && Share.usersSharedArticles[item.id].includes(user.value.shareWith)}">
</span>
- <span ng-if="!App.loading.isLoading(user.value.shareWith)">Envoyé.</span>
</a>
<p class="label-group"> <?php p($l->t('Share on social media')) ?> </p>
<div class="row">