diff options
author | Jimmy Huynh <jimmy.huynh@etu.unistra.fr> | 2021-02-19 15:15:59 +0100 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2021-04-08 23:17:31 +0200 |
commit | 63dddc342e33b8e92ffc95df3768ff6d505a47b7 (patch) | |
tree | b2e67fd9389da70983889556041f1cc4a2d4fcad /templates/part.content.php | |
parent | c35bdeba2069b975ffba283e7b3e93a7651e27bc (diff) |
(+) checkmark on sent users
Signed-off-by: Marco Nassabain <marco.nassabain@hotmail.com>
Diffstat (limited to 'templates/part.content.php')
-rw-r--r-- | templates/part.content.php | 5 |
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"> |