|
47 | 47 | :selected="form.lists"
|
48 | 48 | :all="lists.results"
|
49 | 49 | ></list-selector>
|
50 |
| - |
51 | 50 | <div class="columns mb-5">
|
52 | 51 | <div class="column is-7">
|
53 | 52 | <b-field :message="$t('subscribers.preconfirmHelp')">
|
|
65 | 64 | </div>
|
66 | 65 | </div>
|
67 | 66 |
|
68 |
| - <b-field :label="$t('subscribers.attribs')" label-position="on-border" |
69 |
| - :message="$t('subscribers.attribsHelp') + ' ' + egAttribs"> |
| 67 | + <b-field :message="$t('subscribers.attribsHelp') + ' ' + egAttribs" class="mb-5"> |
70 | 68 | <div>
|
| 69 | + <h5>{{ $t('subscribers.attribs') }}</h5> |
71 | 70 | <b-input v-model="form.strAttribs" name="attribs" type="textarea" />
|
72 | 71 | <a href="https://listmonk.app/docs/concepts"
|
73 | 72 | target="_blank" rel="noopener noreferrer" class="is-size-7">
|
|
76 | 75 | </div>
|
77 | 76 | </b-field>
|
78 | 77 |
|
| 78 | + <div> |
| 79 | + <h5>{{ $tc('globals.terms.subscriptions', 2) }} ({{ data.lists.length }})</h5> |
| 80 | + <div class="mb-5"> |
| 81 | + <b-table :data="data.lists" hoverable default-sort="createdAt" class="subscriptions" |
| 82 | + > |
| 83 | + <b-table-column v-slot="props" field="name" |
| 84 | + :label="$tc('globals.terms.list', 1)"> |
| 85 | + <div> |
| 86 | + <router-link :to="`/lists/${props.row.id}`"> |
| 87 | + {{ props.row.name }} |
| 88 | + </router-link> |
| 89 | + <br /> |
| 90 | + <b-tag :class="props.row.optin" :data-cy="`optin-${props.row.optin}`"> |
| 91 | + <b-icon :icon="props.row.optin === 'double' ? |
| 92 | + 'account-check-outline' : 'account-off-outline'" size="is-small" /> |
| 93 | + {{ ' ' }} |
| 94 | + {{ $t(`lists.optins.${props.row.optin}`) }} |
| 95 | + </b-tag>{{ ' ' }} |
| 96 | + </div> |
| 97 | + </b-table-column> |
| 98 | + <b-table-column v-slot="props" field="status" :label="$t('globals.fields.status')"> |
| 99 | + {{ props.row.optin === 'double' ? props.row.subscriptionStatus : '-' }} |
| 100 | + </b-table-column> |
| 101 | + <b-table-column v-slot="props" field="createdAt" |
| 102 | + :label="$t('globals.fields.createdAt')"> |
| 103 | + {{ $utils.niceDate(props.row.subscriptionCreatedAt, true) }} |
| 104 | + </b-table-column> |
| 105 | + <b-table-column v-slot="props" field="updatedAt" |
| 106 | + :label="$t('globals.fields.updatedAt')"> |
| 107 | + {{ $utils.niceDate(props.row.subscriptionCreatedAt, true) }} |
| 108 | + </b-table-column> |
| 109 | + </b-table> |
| 110 | + </div> |
| 111 | + </div> |
| 112 | + |
79 | 113 | <div class="bounces" v-show="bounces.length > 0">
|
80 | 114 | <a href="#" class="is-size-6" disabed="true"
|
81 | 115 | @click.prevent="toggleBounces">
|
|
0 commit comments