diff --git a/awx/ui/client/features/templates/templatesList.controller.js b/awx/ui/client/features/templates/templatesList.controller.js index e5ae108b1a..db90072cd9 100644 --- a/awx/ui/client/features/templates/templatesList.controller.js +++ b/awx/ui/client/features/templates/templatesList.controller.js @@ -105,21 +105,6 @@ function ListTemplatesController( vm.isPortalMode = $state.includes('portalMode'); - vm.scheduleTemplate = template => { - if (!template) { - Alert(strings.get('error.SCHEDULE'), strings.get('alert.MISSING_PARAMETER')); - return; - } - - if (isJobTemplate(template)) { - $state.go('templates.editJobTemplate.schedules', { job_template_id: template.id }); - } else if (isWorkflowTemplate(template)) { - $state.go('templates.editWorkflowJobTemplate.schedules', { workflow_job_template_id: template.id }); - } else { - Alert(strings.get('error.UNKNOWN'), strings.get('alert.UNKNOWN_SCHEDULE')); - } - }; - vm.deleteTemplate = template => { if (!template) { Alert(strings.get('error.DELETE'), strings.get('alert.MISSING_PARAMETER')); diff --git a/awx/ui/client/features/templates/templatesList.view.html b/awx/ui/client/features/templates/templatesList.view.html index 63f5f667ca..0c7783d18f 100644 --- a/awx/ui/client/features/templates/templatesList.view.html +++ b/awx/ui/client/features/templates/templatesList.view.html @@ -90,9 +90,6 @@ - -