| 1 | <div ng-controller="EditRecipCtrl" class="crm-mailing-recipients-row"> |
| 2 | <input |
| 3 | type="hidden" |
| 4 | crm-mailing-recipients |
| 5 | ng-model="mailing.recipients" |
| 6 | crm-mandatory-groups="crmMailingConst.groupNames | filter:{is_hidden:1}" |
| 7 | crm-ui-id="{{crmMailingBlockRecipients.id}}" |
| 8 | name="{{crmMailingBlockRecipients.name}}" |
| 9 | ng-required="true" /> |
| 10 | <a crm-icon="fa-wrench" ng-click="editOptions(mailing)" class="crm-hover-button" title="{{:: ts('Edit Recipient Options') }}"></a> |
| 11 | <div ng-style="{display: permitRecipientRebuild ? '' : 'inline-block'}"> |
| 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> |
| 14 | </div> |
| 15 | </div> |