Commit | Line | Data |
---|---|---|
b0461279 TO |
1 | <!-- |
2 | Directive: crmMailingRecipients | |
3 | --> | |
4 | <select multiple> | |
0388b3fe TO |
5 | <optgroup label="{{ts('Mandatory Group')}}"> |
6 | <option ng-repeat="grp in mandatoryGroups" value="{{grp.id}} civicrm_group include">{{ts('Search Results')}}</option> | |
7 | </optgroup> | |
b0461279 | 8 | <optgroup label="{{ts('Include Group')}}"> |
2ce79897 | 9 | <option ng-repeat="grp in groups|orderBy:'title'" value="{{grp.id}} civicrm_group include">{{grp.title}}</option> |
b0461279 TO |
10 | </optgroup> |
11 | <optgroup label="{{ts('Exclude Group')}}"> | |
2ce79897 | 12 | <option ng-repeat="grp in groups|orderBy:'title'" value="{{grp.id}} civicrm_group exclude">{{grp.title}}</option> |
b0461279 TO |
13 | </optgroup> |
14 | <optgroup label="{{ts('Include Past Recipients From')}}"> | |
2ce79897 | 15 | <option ng-repeat="ml in mailings|orderBy:'name'" value="{{ml.id}} civicrm_mailing include">{{ml.name}} ({{parseDate(ml.scheduled_date) | date:'mediumDate'}})</option> |
b0461279 TO |
16 | </optgroup> |
17 | <optgroup label="{{ts('Exclude Past Recipients From')}}"> | |
2ce79897 | 18 | <option ng-repeat="ml in mailings|orderBy:'name'" value="{{ml.id}} civicrm_mailing exclude">{{ml.name}} ({{parseDate(ml.scheduled_date) | date:'mediumDate'}})</option> |
b0461279 TO |
19 | </optgroup> |
20 | </select> |