summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BlockRecipients.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BlockRecipients.html')
-rw-r--r--www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BlockRecipients.html15
1 files changed, 15 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BlockRecipients.html b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BlockRecipients.html
new file mode 100644
index 00000000..cedfa6dc
--- /dev/null
+++ b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/BlockRecipients.html
@@ -0,0 +1,15 @@
+<div ng-controller="EditRecipCtrl" class="crm-mailing-recipients-row">
+ <input
+ type="hidden"
+ crm-mailing-recipients
+ ng-model="mailing.recipients"
+ crm-mandatory-groups="crmMailingConst.groupNames | filter:{is_hidden:1}"
+ crm-ui-id="{{crmMailingBlockRecipients.id}}"
+ name="{{crmMailingBlockRecipients.name}}"
+ ng-required="true" />
+ <a crm-icon="fa-wrench" ng-click="editOptions(mailing)" class="crm-hover-button" title="{{ts('Edit Recipient Options')}}"></a>
+ <div ng-style="{display: permitRecipientRebuild ? '' : 'inline-block'}">
+ <button ng-click="rebuildRecipients()" ng-show="permitRecipientRebuild" class="crm-button" title="{{ts('Click to refresh recipient count')}}">{{getRecipientsEstimate()}}</button>
+ <a ng-click="previewRecipients()" class="crm-hover-button" title="{{ts('Preview a List of Recipients')}}" style="font-weight: bold;">{{getRecipientCount()}}</a>
+ </div>
+</div>