Display when subscriber was created in listings
[MAILPOET-6042]
This commit is contained in:
@@ -82,6 +82,11 @@ const columns = [
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'last_subscribed_at',
|
name: 'last_subscribed_at',
|
||||||
|
label: MailPoet.I18n.t('confirmedOn'),
|
||||||
|
sortable: true,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
name: 'created_at',
|
||||||
label: MailPoet.I18n.t('subscribedOn'),
|
label: MailPoet.I18n.t('subscribedOn'),
|
||||||
sortable: true,
|
sortable: true,
|
||||||
},
|
},
|
||||||
@@ -566,7 +571,7 @@ function SubscriberList({ match }) {
|
|||||||
) : null}
|
) : null}
|
||||||
<td
|
<td
|
||||||
className="column-date mailpoet-hide-on-mobile"
|
className="column-date mailpoet-hide-on-mobile"
|
||||||
data-colname={MailPoet.I18n.t('subscribedOn')}
|
data-colname={MailPoet.I18n.t('confirmedOn')}
|
||||||
>
|
>
|
||||||
{subscriber.last_subscribed_at ? (
|
{subscriber.last_subscribed_at ? (
|
||||||
<>
|
<>
|
||||||
@@ -576,6 +581,18 @@ function SubscriberList({ match }) {
|
|||||||
</>
|
</>
|
||||||
) : null}
|
) : null}
|
||||||
</td>
|
</td>
|
||||||
|
<td
|
||||||
|
className="column-date mailpoet-hide-on-mobile"
|
||||||
|
data-colname={MailPoet.I18n.t('subscribedOn')}
|
||||||
|
>
|
||||||
|
{subscriber.created_at ? (
|
||||||
|
<>
|
||||||
|
{MailPoet.Date.short(subscriber.created_at)}
|
||||||
|
<br />
|
||||||
|
{MailPoet.Date.time(subscriber.created_at)}
|
||||||
|
</>
|
||||||
|
) : null}
|
||||||
|
</td>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
};
|
};
|
||||||
|
@@ -74,6 +74,7 @@
|
|||||||
'lists': __('Lists'),
|
'lists': __('Lists'),
|
||||||
'statisticsColumn': __('Score'),
|
'statisticsColumn': __('Score'),
|
||||||
'subscribedOn': __('Subscribed on'),
|
'subscribedOn': __('Subscribed on'),
|
||||||
|
'confirmedOn': __('Confirmed on'),
|
||||||
'lastModifiedOn': __('Last modified on'),
|
'lastModifiedOn': __('Last modified on'),
|
||||||
'oneSubscriberTrashed': __('1 subscriber was moved to the trash.'),
|
'oneSubscriberTrashed': __('1 subscriber was moved to the trash.'),
|
||||||
'multipleSubscribersTrashed': __('%1$d subscribers were moved to the trash.'),
|
'multipleSubscribersTrashed': __('%1$d subscribers were moved to the trash.'),
|
||||||
|
Reference in New Issue
Block a user