mirror of
https://github.com/ansible/awx.git
synced 2026-05-11 03:17:38 -02:30
remove EDIT from edit org breadcrumb label, trim whitespace, add text-uppercase to .BreadCrumb-item
This commit is contained in:
@@ -615,7 +615,7 @@ var tower = angular.module('Tower', [
|
|||||||
},
|
},
|
||||||
ncyBreadcrumb: {
|
ncyBreadcrumb: {
|
||||||
parent: "organizations",
|
parent: "organizations",
|
||||||
label: "EDIT {{name}}"
|
label: "{{name}}"
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
features: ['FeaturesService', function(FeaturesService) {
|
features: ['FeaturesService', function(FeaturesService) {
|
||||||
|
|||||||
@@ -52,6 +52,7 @@
|
|||||||
.BreadCrumb-item {
|
.BreadCrumb-item {
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
color: #B7B7B7;
|
color: #B7B7B7;
|
||||||
|
text-transform: uppercase;
|
||||||
}
|
}
|
||||||
|
|
||||||
.BreadCrumb-item + .BreadCrumb-item:before {
|
.BreadCrumb-item + .BreadCrumb-item:before {
|
||||||
|
|||||||
@@ -136,8 +136,6 @@ export function OrganizationsList($stateParams, $scope, $rootScope, $location,
|
|||||||
$('#prompt-modal').modal('hide');
|
$('#prompt-modal').modal('hide');
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
$scope.addOrganization = function () {
|
$scope.addOrganization = function () {
|
||||||
$state.transitionTo('organizations.add');
|
$state.transitionTo('organizations.add');
|
||||||
};
|
};
|
||||||
@@ -194,7 +192,6 @@ export function OrganizationsAdd($scope, $rootScope, $compile, $location, $log,
|
|||||||
form = OrganizationForm,
|
form = OrganizationForm,
|
||||||
base = $location.path().replace(/^\//, '').split('/')[0];
|
base = $location.path().replace(/^\//, '').split('/')[0];
|
||||||
|
|
||||||
|
|
||||||
generator.inject(form, { mode: 'add', related: false, scope: $scope});
|
generator.inject(form, { mode: 'add', related: false, scope: $scope});
|
||||||
generator.reset();
|
generator.reset();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user