From 7788d450889f50b73549721fac777e3731479a32 Mon Sep 17 00:00:00 2001 From: Jared Tabor Date: Wed, 4 Feb 2015 14:27:53 -0500 Subject: [PATCH] Removing the Launch and Sync button removing the launch button from the JT form page and the sync project from the project page --- awx/ui/static/js/forms/JobTemplates.js | 12 ++++++------ awx/ui/static/js/forms/Projects.js | 18 +++++++++--------- 2 files changed, 15 insertions(+), 15 deletions(-) diff --git a/awx/ui/static/js/forms/JobTemplates.js b/awx/ui/static/js/forms/JobTemplates.js index cc83b15512..abc12ee1ce 100644 --- a/awx/ui/static/js/forms/JobTemplates.js +++ b/awx/ui/static/js/forms/JobTemplates.js @@ -30,12 +30,12 @@ angular.module('JobTemplateFormDefinition', ['SchedulesListDefinition', 'Complet collapseOpenFirst: true, //Always open first panel actions: { - submit: { - ngClick: 'launch()', - awToolTip: 'Start a job using this template', - dataPlacement: 'top', - mode: 'edit' - }, + // submit: { + // ngClick: 'launch()', + // awToolTip: 'Start a job using this template', + // dataPlacement: 'top', + // mode: 'edit' + // }, stream: { 'class': "btn-primary btn-xs activity-btn", ngClick: "showActivity()", diff --git a/awx/ui/static/js/forms/Projects.js b/awx/ui/static/js/forms/Projects.js index e59e81077a..3016293399 100644 --- a/awx/ui/static/js/forms/Projects.js +++ b/awx/ui/static/js/forms/Projects.js @@ -26,15 +26,15 @@ angular.module('ProjectFormDefinition', ['SchedulesListDefinition']) collapseOpen: true, actions: { - scm_update: { - mode: 'edit', - ngClick: 'SCMUpdate()', - awToolTip: "{{ scm_update_tooltip }}", - dataTipWatch: "scm_update_tooltip", - ngClass: "scm_type_class", - dataPlacement: 'top', - ngDisabled: "scm_type.value === 'manual' " - }, + // scm_update: { + // mode: 'edit', + // ngClick: 'SCMUpdate()', + // awToolTip: "{{ scm_update_tooltip }}", + // dataTipWatch: "scm_update_tooltip", + // ngClass: "scm_type_class", + // dataPlacement: 'top', + // ngDisabled: "scm_type.value === 'manual' " + // }, stream: { 'class': "btn-primary btn-xs activity-btn", ngClick: "showActivity()",