From 9278a5002925bd95baf72fc9cf054a7098503bcf Mon Sep 17 00:00:00 2001 From: Leigh Johnson Date: Mon, 15 Feb 2016 11:36:46 -0500 Subject: [PATCH] remove EDIT from edit org breadcrumb label, trim whitespace, add text-uppercase to .BreadCrumb-item --- awx/ui/client/src/app.js | 2 +- awx/ui/client/src/bread-crumb/bread-crumb.block.less | 1 + awx/ui/client/src/controllers/Organizations.js | 3 --- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/awx/ui/client/src/app.js b/awx/ui/client/src/app.js index 7c60dc2e80..b62191f36e 100644 --- a/awx/ui/client/src/app.js +++ b/awx/ui/client/src/app.js @@ -615,7 +615,7 @@ var tower = angular.module('Tower', [ }, ncyBreadcrumb: { parent: "organizations", - label: "EDIT {{name}}" + label: "{{name}}" }, resolve: { features: ['FeaturesService', function(FeaturesService) { diff --git a/awx/ui/client/src/bread-crumb/bread-crumb.block.less b/awx/ui/client/src/bread-crumb/bread-crumb.block.less index e1397788d0..de05b2f113 100644 --- a/awx/ui/client/src/bread-crumb/bread-crumb.block.less +++ b/awx/ui/client/src/bread-crumb/bread-crumb.block.less @@ -52,6 +52,7 @@ .BreadCrumb-item { display: inline-block; color: #B7B7B7; + text-transform: uppercase; } .BreadCrumb-item + .BreadCrumb-item:before { diff --git a/awx/ui/client/src/controllers/Organizations.js b/awx/ui/client/src/controllers/Organizations.js index bf308dfc1c..fb1ebecfa1 100644 --- a/awx/ui/client/src/controllers/Organizations.js +++ b/awx/ui/client/src/controllers/Organizations.js @@ -136,8 +136,6 @@ export function OrganizationsList($stateParams, $scope, $rootScope, $location, $('#prompt-modal').modal('hide'); }); - - $scope.addOrganization = function () { $state.transitionTo('organizations.add'); }; @@ -194,7 +192,6 @@ export function OrganizationsAdd($scope, $rootScope, $compile, $location, $log, form = OrganizationForm, base = $location.path().replace(/^\//, '').split('/')[0]; - generator.inject(form, { mode: 'add', related: false, scope: $scope}); generator.reset();