| 1 |
<?php |
| 2 |
defined('ABSPATH') || die('Restricted Access'); |
| 3 |
?> |
| 4 |
<div class="cell grid-x acym__modal__users__summary" acym-data-query="<?php echo esc_attr(json_encode($dataModal)); ?>"> |
| 5 |
<h2 class="cell shrink acym__title"><?php echo esc_html(acym_translation('ACYM_SELECTED_SUBSCRIBER')); ?></h2> |
| 6 |
<div class="cell grid-x acym__modal__users__summary__actions margin-top-1 margin-bottom-1"> |
| 7 |
<input type="text" class="cell" placeholder="<?php echo esc_attr(acym_translation('ACYM_SEARCH')); ?>" v-model="search"> |
| 8 |
</div> |
| 9 |
<div class="cell grid-x acym__listing"> |
| 10 |
<div class="grid-x cell acym__listing__header hide-for-small-only"> |
| 11 |
<div class="cell acym__listing__header__title medium-6"><?php echo esc_html(acym_translation('ACYM_EMAIL')); ?></div> |
| 12 |
<div class="cell acym__listing__header__title medium-4"><?php echo esc_html(acym_translation('ACYM_NAME')); ?></div> |
| 13 |
<div class="cell large-1 acym__listing__header__title medium-2"><?php echo esc_html(acym_translation('ACYM_ID')); ?></div> |
| 14 |
</div> |
| 15 |
<h4 class="cell text-center acym__list__settings__users__listing margin-top-1" v-show="listingError">{{ errorMessage }}</h4> |
| 16 |
<div class="cell text-center acym__list__settings__users__listing margin-top-1" v-show="listingLoading"><?php acym_loaderLogo(); ?></div> |
| 17 |
<div class="cell text-center acym__list__settings__users__listing margin-top-1" v-show="emptyListing"><?php echo esc_html( |
| 18 |
acym_translation('ACYM_NO_SUBSCRIBERS_FOUND') |
| 19 |
); ?></div> |
| 20 |
<div v-show="displayListing" |
| 21 |
class="grid-x cell acym__list__settings__users__listing" |
| 22 |
v-infinite-scroll="loadMoreUsers" |
| 23 |
:infinite-scroll-disabled="busy" |
| 24 |
infinite-scroll-immediate-check="false"> |
| 25 |
<div class="grid-x cell align-middle acym__listing__row" v-for="(user, index) in users"> |
| 26 |
<div class="cell small-6 acym__listing__title acym_word-break"> |
| 27 |
<h6>{{ user.email }}</h6> |
| 28 |
</div> |
| 29 |
<div class="cell small-6 medium-4 acym_word-break"> |
| 30 |
<span>{{ user.name }}</span> |
| 31 |
</div> |
| 32 |
<div class="medium-2 hide-for-small-only cell acym_word-break"> |
| 33 |
<span>{{ user.id }}</span> |
| 34 |
</div> |
| 35 |
</div> |
| 36 |
</div> |
| 37 |
</div> |
| 38 |
</div> |
| 39 |
|