subscribers.html
141 lines
| 1 | <% extends 'layout.html' %> |
| 2 | |
| 3 | <% block content %> |
| 4 | <div id="subscribers_container"></div> |
| 5 | |
| 6 | <script type="text/javascript"> |
| 7 | var mailpoet_listing_per_page = <%= items_per_page %>; |
| 8 | var mailpoet_segments = <%= json_encode(segments) %>; |
| 9 | var mailpoet_custom_fields = <%= json_encode(custom_fields) %>; |
| 10 | var mailpoet_month_names = <%= json_encode(month_names) %>; |
| 11 | var mailpoet_date_formats = <%= json_encode(date_formats) %>; |
| 12 | var mailpoet_premium_active = <%= json_encode(premium_plugin_active) %>; |
| 13 | var mailpoet_max_confirmation_emails = <%= max_confirmation_emails %>; |
| 14 | var mailpoet_beacon_articles = [ |
| 15 | '57ce07ffc6979108399a044b', |
| 16 | '57ce079f903360649f6e56fc', |
| 17 | '5d0a1da404286318cac46fe5', |
| 18 | '5cbf19622c7d3a026fd3efe1', |
| 19 | '58a5a7502c7d3a576d353c78', |
| 20 | ]; |
| 21 | var mailpoet_mss_active = <%= json_encode(mss_active) %>; |
| 22 | var mailpoet_subscribers_limit = <%= subscribers_limit ? subscribers_limit : 'false' %>; |
| 23 | var mailpoet_subscribers_limit_reached = <%= subscribers_limit_reached ? 'true' : 'false' %>; |
| 24 | var mailpoet_has_valid_api_key = <%= has_valid_api_key ? 'true' : 'false' %>; |
| 25 | var mailpoet_mss_key_invalid = <%= mss_key_invalid ? 'true' : 'false' %>; |
| 26 | var mailpoet_subscribers_count = <%= subscriber_count %>; |
| 27 | var mailpoet_subscribers_in_plan_count = <%= subscriber_count %>; |
| 28 | var mailpoet_premium_subscribers_count = <%= premium_subscriber_count %>; |
| 29 | var mailpoet_has_premium_support = <%= has_premium_support ? 'true' : 'false' %>; |
| 30 | var mailpoet_wp_users_count = <%= wp_users_count ? wp_users_count : 'false' %>; |
| 31 | </script> |
| 32 | <% endblock %> |
| 33 | |
| 34 | <% block translations %> |
| 35 | <%= localize({ |
| 36 | 'pageTitle': __('Subscribers'), |
| 37 | 'searchLabel': __('Search'), |
| 38 | 'loadingItems': __('Loading subscribers...'), |
| 39 | 'noItemsFound': __('No subscribers were found.'), |
| 40 | 'bouncedSubscribersHelp': __("Email addresses that are invalid or don't exist anymore are called \"bounced addresses\". It's a good practice not to send emails to bounced addresses to keep a good reputation with spam filters. Send your emails with MailPoet and we'll automatically ensure to keep a list of bounced addresses without any setup."), |
| 41 | 'bouncedSubscribersPremiumButtonText': __('Get premium version!'), |
| 42 | 'selectAllLabel': __('All subscribers on this page are selected.'), |
| 43 | 'selectedAllLabel': __('All %d subscribers are selected.'), |
| 44 | 'selectAllLink': __('Select all subscribers on all pages'), |
| 45 | 'clearSelection': __('Clear selection'), |
| 46 | 'permanentlyDeleted': __('%d subscribers were permanently deleted.'), |
| 47 | 'selectBulkAction': __('Select bulk action'), |
| 48 | 'bulkActions': __('Bulk Actions'), |
| 49 | 'apply': __('Apply'), |
| 50 | 'filter': __('Filter'), |
| 51 | 'emptyTrash': __('Empty Trash'), |
| 52 | 'selectAll': __('Select All'), |
| 53 | 'edit': __('Edit'), |
| 54 | 'restore': __('Restore'), |
| 55 | 'trash': __('Trash'), |
| 56 | 'moveToTrash': __('Move to trash'), |
| 57 | 'deletePermanently': __('Delete Permanently'), |
| 58 | 'showMoreDetails': __('Show more details'), |
| 59 | |
| 60 | 'previousPage': __('Previous page'), |
| 61 | 'firstPage': __('First page'), |
| 62 | 'nextPage': __('Next page'), |
| 63 | 'lastPage': __('Last page'), |
| 64 | 'currentPage': __('Current Page'), |
| 65 | 'pageOutOf': __('of'), |
| 66 | 'numberOfItemsSingular': __('1 item'), |
| 67 | 'numberOfItemsMultiple': __('%$1d items'), |
| 68 | |
| 69 | 'subscribersInPlanCount': _x('%$1d / %$2d', 'count / total subscribers'), |
| 70 | 'subscribersInPlan': _x('%s subscribers in your plan', 'number of subscribers in a sending plan'), |
| 71 | 'subscribersInPlanTooltip': __('This is the total of subscribed, unconfirmed and inactive subscribers we count when you are sending with MailPoet Sending Service. The count excludes unsubscribed and bounced (invalid) email addresses.'), |
| 72 | |
| 73 | 'mailpoetSubscribers': _x('%s MailPoet subscribers', 'number of subscribers in the plugin'), |
| 74 | 'mailpoetSubscribersTooltipFree': __('This is the total of all subscribers including %$1d WordPress users. To exclude WordPress users, please purchase one of our premium plans.'), |
| 75 | 'mailpoetSubscribersTooltipPremium': __('This is the total of all subscribers excluding all WordPress users.'), |
| 76 | |
| 77 | 'email': __('E-mail'), |
| 78 | 'firstname': __('First name'), |
| 79 | 'lastname': __('Last name'), |
| 80 | 'status': __('Status'), |
| 81 | 'unconfirmed': __('Unconfirmed'), |
| 82 | 'subscribed': __('Subscribed'), |
| 83 | 'unsubscribed': __('Unsubscribed'), |
| 84 | 'inactive': __('Inactive'), |
| 85 | 'bounced': __('Bounced'), |
| 86 | 'selectList': __('Select a list'), |
| 87 | 'unsubscribedOn': __('Unsubscribed on %$1s'), |
| 88 | 'subscriberUpdated': __('Subscriber was updated successfully!'), |
| 89 | 'subscriberAdded': __('Subscriber was added successfully!'), |
| 90 | 'welcomeEmailTip': __('This subscriber will receive Welcome Emails if any are active for your lists.'), |
| 91 | |
| 92 | 'unsubscribedNewsletter': __('Unsubscribed at %$1d, from newsletter [link].'), |
| 93 | 'unsubscribedManage': __('Unsubscribed at %$1d, using the “Manage my Subscription” page.'), |
| 94 | 'unsubscribedAdmin': __('Unsubscribed at %$1d, by admin "%$2d".'), |
| 95 | 'unsubscribedUnknown': __('Unsubscribed at %$1d, for an unknown reason.'), |
| 96 | |
| 97 | 'subscriber': __('Subscriber'), |
| 98 | 'status': __('Status'), |
| 99 | 'lists': __('Lists'), |
| 100 | 'subscribedOn': __('Subscribed on'), |
| 101 | 'lastModifiedOn': __('Last modified on'), |
| 102 | 'oneSubscriberTrashed': __('1 subscriber was moved to the trash.'), |
| 103 | 'multipleSubscribersTrashed': __('%$1d subscribers were moved to the trash.'), |
| 104 | 'oneSubscriberDeleted': __('1 subscriber was permanently deleted.'), |
| 105 | 'multipleSubscribersDeleted': __('%$1d subscribers were permanently deleted.'), |
| 106 | 'oneSubscriberRestored': __('1 subscriber has been restored from the trash.'), |
| 107 | 'multipleSubscribersRestored': __('%$1d subscribers have been restored from the trash.'), |
| 108 | 'moveToList': __('Move to list...'), |
| 109 | 'multipleSubscribersMovedToList': __('%$1d subscribers were moved to list <strong>%$2s</strong>'), |
| 110 | 'addToList': __('Add to list...'), |
| 111 | 'multipleSubscribersAddedToList': __('%$1d subscribers were added to list <strong>%$2s</strong>.'), |
| 112 | 'removeFromList': __('Remove from list...'), |
| 113 | 'multipleSubscribersRemovedFromList': __('%$1d subscribers were removed from list <strong>%$2s</strong>'), |
| 114 | 'removeFromAllLists': __('Remove from all lists'), |
| 115 | 'multipleSubscribersRemovedFromAllLists': __('%$1d subscribers were removed from all lists.'), |
| 116 | 'resendConfirmationEmail': __('Resend confirmation email'), |
| 117 | 'oneConfirmationEmailSent': __('1 confirmation email has been sent.'), |
| 118 | 'listsToWhichSubscriberWasSubscribed': __('Lists to which the subscriber was subscribed.'), |
| 119 | 'WPUsersSegment': __('WordPress Users'), |
| 120 | 'WPUserEditNotice': __('This subscriber is a registered WordPress user. [link]Edit his/her profile[/link] to change his/her email.'), |
| 121 | 'allSendingPausedHeader': __('All sending is currently paused!'), |
| 122 | 'allSendingPausedBody': __('Your key to send with MailPoet is invalid.'), |
| 123 | 'allSendingPausedLink': __('Purchase a key'), |
| 124 | 'statsHeading': _x('Stats: %s', 'This is a heading for the subscribers statistics page example: "Stats: mailpoet@example.com"'), |
| 125 | 'statsSentEmail': __('Sent email'), |
| 126 | 'statsOpened': __('Opened'), |
| 127 | 'statsClicked': __('Clicked'), |
| 128 | 'statsNotClicked': __('Not opened'), |
| 129 | 'tip': __('Tip:'), |
| 130 | 'customFieldsTip': __('Need to add new fields, like a telephone number or street address? You can add custom fields by editing the subscription form on the Forms page.'), |
| 131 | 'year': __('Year'), |
| 132 | 'month': __('Month'), |
| 133 | 'day': __('Day'), |
| 134 | 'new': __('Add New'), |
| 135 | 'import': __('Import'), |
| 136 | 'export': __('Export'), |
| 137 | 'save': __('Save'), |
| 138 | 'backToList': __('Back') |
| 139 | }) %> |
| 140 | <% endblock %> |
| 141 |