1 <div crm-ui-accordion
crm-title=
"ts('Debug')" crm-collapsed=
"true">
2 <pre>{{mailing|json}}
</pre>
5 <div ng-show=
"isSubmitted()">
6 {{ts('This mailing has been submitted.')}}
9 <form name=
"crmMailing" novalidate
ng-hide=
"isSubmitted()" crm-autosave=
"save()" crm-autosave-model=
"[mailing, attachments.getAutosaveSignature()]" crm-autosave-if=
"true">
11 <div class=
"crm-block crm-form-block crmMailing">
13 <div crm-ui-wizard-step
crm-title=
"ts('Define Mailing')" ng-form=
"defineForm">
14 <div crm-ui-accordion
crm-title=
"ts('Summary')">
15 <div crm-mailing-block-summary
crm-mailing=
"mailing"/>
18 <div crm-ui-tab
id=
"tab-mailing" crm-title=
"ts('Mailing')">
19 <div crm-mailing-block-mailing
crm-mailing=
"mailing"/>
20 <div crm-ui-accordion
crm-title=
"ts('HTML')">
21 <div crm-mailing-body-html
crm-mailing=
"mailing"/>
23 <div crm-ui-accordion
crm-title=
"ts('Plain Text')" crm-collapsed='true'
>
24 <div crm-mailing-body-text
crm-mailing=
"mailing"/>
26 <span ng-model=
"placeholder" crm-ui-validate=
"mailing.body_html || mailing.body_text"></span>
28 <div crm-ui-tab
id=
"tab-attachment" crm-title=
"ts('Attachments')">
29 <div crm-attachments=
"attachments"/>
31 <div crm-ui-tab
id=
"tab-header" crm-title=
"ts('Header and Footer')">
32 <div crm-mailing-block-header-footer
crm-mailing=
"mailing"/>
34 <div crm-ui-tab
id=
"tab-pub" crm-title=
"ts('Publication')">
35 <div crm-mailing-block-publication
crm-mailing=
"mailing"/>
37 <div crm-ui-tab
id=
"tab-response" crm-title=
"ts('Responses')">
38 <div crm-mailing-block-responses
crm-mailing=
"mailing"/>
40 <div crm-ui-tab
id=
"tab-tracking" crm-title=
"ts('Tracking')">
41 <div crm-mailing-block-tracking
crm-mailing=
"mailing"/>
44 <div crm-ui-accordion
crm-title=
"ts('Preview')">
45 <div crm-mailing-block-preview
crm-mailing=
"mailing" on-preview=
"previewMailing(mailing, preview.mode)" on-send=
"sendTest(mailing, attachments, preview.recipient)" />
48 <div crm-ui-wizard-step
crm-title=
"ts('Review and Schedule')" ng-form=
"reviewForm">
49 <div crm-ui-accordion
crm-title=
"ts('Review')">
50 <div crm-mailing-block-review
crm-mailing=
"mailing"/>
52 <div crm-ui-accordion
crm-title=
"ts('Schedule')">
53 <div crm-mailing-block-schedule
crm-mailing=
"mailing"/>
56 <a class=
"crmMailing-submit-button" ng-click=
"submit()" ng-class=
"{disabled: block.check() || crmMailing.$invalid}">
57 <div>{{ts('Submit Mailing')}}
</div>
62 <span crm-ui-wizard-buttons
style=
"float:right;">
63 <button ng-disabled=
"block.check()" crm-confirm=
"{title:ts('Delete Draft?'), message:ts('Are you sure you want to delete the draft mailing?')}" on-yes=
"delete()">{{ts('Delete Draft')}}
</button>
64 <button ng-disabled=
"block.check()" ng-click=
"save()">{{ts('Save Draft')}}
</button>