summaryrefslogtreecommitdiff
path: root/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/SaveMsgTemplateDialogCtrl.html
diff options
context:
space:
mode:
Diffstat (limited to 'www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/SaveMsgTemplateDialogCtrl.html')
-rw-r--r--www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/SaveMsgTemplateDialogCtrl.html17
1 files changed, 17 insertions, 0 deletions
diff --git a/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/SaveMsgTemplateDialogCtrl.html b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/SaveMsgTemplateDialogCtrl.html
new file mode 100644
index 00000000..1e5c723f
--- /dev/null
+++ b/www/crm/wp-content/plugins/civicrm/civicrm/ang/crmMailing/SaveMsgTemplateDialogCtrl.html
@@ -0,0 +1,17 @@
+<div ng-controller="SaveMsgTemplateDialogCtrl">
+ <p><em>{{ts('Save the current mailing as a template.')}}</em></p>
+
+ <div ng-hide="!selected">
+ <label for="saveopt-mode-update">
+ <input type="radio" name="mode" ng-model="saveOpt.mode" value="update" id="saveopt-mode-update">
+ {{ts('Update "%1"', {1: selected.msg_title})}}
+ </label>
+ </div>
+ <div>
+ <label type="radio" for="saveopt-mode-add">
+ <input type="radio" name="mode" ng-model="saveOpt.mode" value="add" id="saveopt-mode-add">
+ {{ts('Save as:')}}
+ </label>
+ <input type="text" ng-model="saveOpt.newTitle" ng-click="saveOpt.mode='add'" ng-change="saveOpt.mode='add'" />
+ </div>
+</div>