Add 'preconfirm subscription' option to subscriber UI. Closes #526.

This commit is contained in:
Kailash Nadh 2021-10-27 20:46:37 +05:30
parent 76cd4d382a
commit 1c8ac0f866
14 changed files with 39 additions and 1 deletions

View file

@ -48,6 +48,11 @@
:all="lists.results"
></list-selector>
<b-field :message="$t('subscribers.preconfirmHelp')">
<b-checkbox v-model="form.preconfirm"
:native-value="true">{{ $t('subscribers.preconfirm') }}</b-checkbox>
</b-field>
<b-field :label="$t('subscribers.attribs')" label-position="on-border"
:message="$t('subscribers.attribsHelp') + ' ' + egAttribs">
<div>
@ -124,7 +129,12 @@ export default Vue.extend({
return {
// Binds form input values. This is populated by subscriber props passed
// from the parent component in mounted().
form: { lists: [], strAttribs: '{}', status: 'enabled' },
form: {
lists: [],
strAttribs: '{}',
status: 'enabled',
preconfirm: false,
},
isBounceVisible: false,
bounces: [],
visibleMeta: {},
@ -199,6 +209,7 @@ export default Vue.extend({
name: this.form.name,
status: this.form.status,
attribs,
preconfirm_subscriptions: this.form.preconfirm,
// List IDs.
lists: this.form.lists.map((l) => l.id),
@ -225,6 +236,7 @@ export default Vue.extend({
email: this.form.email,
name: this.form.name,
status: this.form.status,
preconfirm_subscriptions: this.form.preconfirm,
attribs,
// List IDs.

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "Nový odběratel",
"subscribers.numSelected": "{num} vybraných odběratelů",
"subscribers.optinSubject": "Potvrdit odběr",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Dotaz",
"subscribers.queryPlaceholder": "E-mail nebo jméno",
"subscribers.reset": "Reset",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "Neuer Abonnent",
"subscribers.numSelected": "{num} Abonnent(en) ausgewählt",
"subscribers.optinSubject": "Abonnement bestätigen",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Abfrage",
"subscribers.queryPlaceholder": "E-Mail oder Name",
"subscribers.reset": "Zurücksetzen",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "New subscriber",
"subscribers.numSelected": "{num} subscriber(s) selected",
"subscribers.optinSubject": "Confirm subscription",
"subscribers.preconfirm": "Preconfirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Query",
"subscribers.queryPlaceholder": "E-mail or name",
"subscribers.reset": "Reset",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "Nuevo subscriptor",
"subscribers.numSelected": "{num} subscriptores seleccionados",
"subscribers.optinSubject": "Confirmar subscripción",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Consulta",
"subscribers.queryPlaceholder": "Correo electrónico o nombre",
"subscribers.reset": "Restablecer",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "Nouvel·le abonné·e",
"subscribers.numSelected": "{num} abonné·e(s) sélectionné·e(s)",
"subscribers.optinSubject": "Confirmer votre abonnement",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Requête",
"subscribers.queryPlaceholder": "Email ou nom",
"subscribers.reset": "Réinitialiser",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "Nuovo iscritto",
"subscribers.numSelected": "{num} iscritto(i) selezionato(i)",
"subscribers.optinSubject": "Confermare l'iscrizione",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Richiesta",
"subscribers.queryPlaceholder": "Email o nome",
"subscribers.reset": "Ripristina",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "പുതിയ വരിക്കാരൻ",
"subscribers.numSelected": "വരിക്കാരനെ തിരഞ്ഞെടുത്തു | {num} വരിക്കാരെ തിരഞ്ഞെടുത്തു",
"subscribers.optinSubject": "വരിക്കാരനാകുന്നത് തീർപ്പാക്കുക",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "ചോദ്യം",
"subscribers.queryPlaceholder": "പേരോ ഇ-മെയിൽ വിലാസമോ",
"subscribers.reset": "പുനഃസജ്ജമാക്കുക",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "Nowy subskrybent",
"subscribers.numSelected": "Wybrano {num} subskrypcji",
"subscribers.optinSubject": "Potwierdź subskrypcję",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Zapytanie",
"subscribers.queryPlaceholder": "E-mail lub nazwa",
"subscribers.reset": "Resetuj",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "Novo inscrito",
"subscribers.numSelected": "{num} inscrito(s) selecionado(s)",
"subscribers.optinSubject": "Confirmar a inscrição",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Consulta",
"subscribers.queryPlaceholder": "E-mail ou nome",
"subscribers.reset": "Redefinir",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "Novo subscritor",
"subscribers.numSelected": "{num} subscritor(es) selecionados",
"subscribers.optinSubject": "Confirmar subscrição",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Query",
"subscribers.queryPlaceholder": "E-mail ou nome",
"subscribers.reset": "Repor",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "Abonat nou",
"subscribers.numSelected": "{număr} abonați selectați",
"subscribers.optinSubject": "Confirmă abonarea",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Interogare",
"subscribers.queryPlaceholder": "Email sau nume",
"subscribers.reset": "Reset",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "Новый подписчик",
"subscribers.numSelected": "{num} подписчика(ов) выбрано",
"subscribers.optinSubject": "Подтвердить подписку",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Запрос",
"subscribers.queryPlaceholder": "E-mail или имя",
"subscribers.reset": "Сброс",

View file

@ -462,6 +462,8 @@
"subscribers.newSubscriber": "Yeni üye",
"subscribers.numSelected": "{num} üye(ler) seçildi",
"subscribers.optinSubject": "Üyeliği doğrula",
"subscribers.preconfirm": "Pre-confirm subscriptions",
"subscribers.preconfirmHelp": "Don't send opt-in e-mails and mark all list subscriptions as 'subscribed'.",
"subscribers.query": "Sorgu",
"subscribers.queryPlaceholder": "E-posta veya isim",
"subscribers.reset": "Sıfırla",