Merge remote-tracking branch 'upstream/4.6' into 4.6-master-2015-04-13-16-09-07
[civicrm-core.git] / ang / crmMailing / BlockHeaderFooter.html
1 <!--
2 Controller: EditMailingCtrl
3 Required vars: mailing, crmMailingConst
4 -->
5 <div class="crm-block" ng-form="subform" crm-ui-id-scope>
6 <div class="crm-group" ng-controller="EmailBodyCtrl">
7 <div crm-ui-field="{name: 'subform.header_id', title: ts('Mailing Header'), help: hs('header')}">
8 <select
9 crm-ui-id="subform.header_id"
10 name="header_id"
11 ui-jq="select2"
12 ui-options="{dropdownAutoWidth : true, allowClear: true}"
13 ng-change="checkTokens(mailing, '*')"
14 ng-model="mailing.header_id"
15 ng-options="mc.id as mc.name for mc in crmMailingConst.headerfooterList | filter:{component_type: 'Header'}">
16 <option value=""></option>
17 </select>
18 </div>
19 <div crm-ui-field="{name: 'subform.footer_id', title: ts('Mailing Footer'), help: hs('footer')}">
20 <select
21 crm-ui-id="subform.footer_id"
22 name="footer_id"
23 ui-jq="select2"
24 ui-options="{dropdownAutoWidth : true, allowClear: true}"
25 ng-change="checkTokens(mailing, '*')"
26 ng-model="mailing.footer_id"
27 ng-options="mc.id as mc.name for mc in crmMailingConst.headerfooterList | filter:{component_type: 'Footer'}">
28 <option value=""></option>
29 </select>
30 </div>
31 </div>
32 </div>