Merge branch '5.26' of https://github.com/civicrm/civicrm-core
[civicrm-core.git] / ang / crmMailing / BlockRecipients.html
CommitLineData
c6188177 1<div ng-controller="EditRecipCtrl" class="crm-mailing-recipients-row">
836bf6b7
SL
2 <input
3 type="hidden"
62d2e387 4 crm-mailing-recipients
9cd4f489 5 ng-model="mailing.recipients"
0388b3fe 6 crm-mandatory-groups="crmMailingConst.groupNames | filter:{is_hidden:1}"
62d2e387
TO
7 crm-ui-id="{{crmMailingBlockRecipients.id}}"
8 name="{{crmMailingBlockRecipients.name}}"
7a646a01 9 ng-required="true" />
f9c5f498 10 <a crm-icon="fa-wrench" ng-click="editOptions(mailing)" class="crm-hover-button" title="{{:: ts('Edit Recipient Options') }}"></a>
05752ee5 11 <div ng-style="{display: permitRecipientRebuild ? '' : 'inline-block'}">
f9c5f498
CW
12 <button ng-click="rebuildRecipients()" ng-show="permitRecipientRebuild" class="crm-button" title="{{:: ts('Click to refresh recipient count') }}">{{getRecipientsEstimate()}}</button>
13 <a ng-click="previewRecipients()" class="crm-hover-button" title="{{:: ts('Preview a List of Recipients') }}" style="font-weight: bold;">{{getRecipientCount()}}</a>
7a646a01 14 </div>
62d2e387 15</div>