CRM-16145 - crmMailing - Rename edit*html
authorTim Otten <totten@civicrm.org>
Wed, 8 Apr 2015 04:53:39 +0000 (21:53 -0700)
committerTim Otten <totten@civicrm.org>
Wed, 8 Apr 2015 04:53:39 +0000 (21:53 -0700)
ang/crmMailing.js
ang/crmMailing/EditMailingCtrl/2step.html [moved from ang/crmMailing/edit.html with 100% similarity]
ang/crmMailing/EditMailingCtrl/unified.html [moved from ang/crmMailing/edit-unified.html with 100% similarity]
ang/crmMailing/EditMailingCtrl/unified2.html [moved from ang/crmMailing/edit-unified2.html with 100% similarity]
ang/crmMailing/EditMailingCtrl/wizard.html [moved from ang/crmMailing/edit-wizard.html with 100% similarity]
ang/crmMailing/EditMailingCtrl/workflow.html [moved from ang/crmMailing/edit-workflow.html with 100% similarity]

index bc3938f2ac05da75434bbe8262cfa59caa0c3253..7254b8a06ed905dbcdde71b174714c47c76063f7 100644 (file)
       });
 
       var editorPaths = {
-        '': '~/crmMailing/edit.html',
-        '/unified': '~/crmMailing/edit-unified.html',
-        '/unified2': '~/crmMailing/edit-unified2.html',
-        '/wizard': '~/crmMailing/edit-wizard.html'
+        '': '~/crmMailing/EditMailingCtrl/2step.html',
+        '/unified': '~/crmMailing/EditMailingCtrl/unified.html',
+        '/unified2': '~/crmMailing/EditMailingCtrl/unified2.html',
+        '/wizard': '~/crmMailing/EditMailingCtrl/wizard.html'
       };
       angular.forEach(editorPaths, function(editTemplate, pathSuffix) {
         if (CRM && CRM.crmMailing && CRM.crmMailing.workflowEnabled) {
-          editTemplate = '~/crmMailing/edit-workflow.html'; // override
+            editTemplate = '~/crmMailing/EditMailingCtrl/workflow.html'; // override
         }
         $routeProvider.when('/mailing/new' + pathSuffix, {
           template: '<p>' + ts('Initializing...') + '</p>',