diff --git a/client/src/campaigns/Statistics.js b/client/src/campaigns/Statistics.js index fa0d99d0..ed2b45af 100644 --- a/client/src/campaigns/Statistics.js +++ b/client/src/campaigns/Statistics.js @@ -73,7 +73,7 @@ export default class Statistics extends Component { render() { const t = this.props.t; const entity = this.state.entity; - const total = entity.subscriptionsToSend === undefined ? undefined : entity.subscriptionsToSend + entity.delivered; + const total = entity.total; const renderMetrics = (key, label, showZoomIn = true) => { const val = entity[key] diff --git a/client/src/campaigns/Status.js b/client/src/campaigns/Status.js index 4eab8df2..c20c7486 100644 --- a/client/src/campaigns/Status.js +++ b/client/src/campaigns/Status.js @@ -329,8 +329,6 @@ class SendControls extends Component { if (entity.status === CampaignStatus.IDLE || entity.status === CampaignStatus.PAUSED || (entity.status === CampaignStatus.SCHEDULED && entity.scheduled)) { - const subscrInfo = entity.subscriptionsToSend === undefined ? '' : ` (${entity.subscriptionsToSend} ${t('subscribers-1')})`; - const timezoneColumns = [ { data: 0, title: t('Timezone') } ]; @@ -372,9 +370,9 @@ class SendControls extends Component { {this.getFormValue('sendLater') ? - {{/if}} - - {{#translate}}insertYourGpgPublicKeyHereToEncrypt{{/translate}} - + {{#translate}}insertYourGpgPublicKeyHereToEncrypt{{/translate}} + {{help}} {{/if}} @@ -76,6 +82,7 @@
+ {{help}}
{{/if}} @@ -83,6 +90,7 @@
+ {{help}}
{{/if}} @@ -90,6 +98,7 @@
+ {{help}}
{{/if}} @@ -97,6 +106,7 @@
+ {{help}}
{{/if}} @@ -111,6 +121,7 @@ {{/each}} + {{help}} {{/if}} @@ -122,6 +133,7 @@ {{name}} {{/each}} + {{help}} {{/if}} @@ -133,6 +145,7 @@ + {{help}} {{/each}} {{/if}} @@ -148,6 +161,7 @@ {{/each}} + {{help}} {{/if}} @@ -159,6 +173,7 @@ {{name}} {{/each}} + {{help}} {{/if}} diff --git a/shared/campaigns.js b/shared/campaigns.js index 7a4390ae..ff97f0c0 100644 --- a/shared/campaigns.js +++ b/shared/campaigns.js @@ -51,7 +51,7 @@ const CampaignMessageStatus = { UNSUBSCRIBED: 2, BOUNCED: 3, COMPLAINED: 4, - SENDING: 5, + SCHEDULED: 5, MAX: 5 };