mirror of
https://github.com/ansible/awx.git
synced 2026-01-17 12:41:19 -03:30
remove EDIT from edit org breadcrumb label, trim whitespace, add text-uppercase to .BreadCrumb-item
This commit is contained in:
parent
4558b880a0
commit
9278a50029
@ -615,7 +615,7 @@ var tower = angular.module('Tower', [
|
||||
},
|
||||
ncyBreadcrumb: {
|
||||
parent: "organizations",
|
||||
label: "EDIT {{name}}"
|
||||
label: "{{name}}"
|
||||
},
|
||||
resolve: {
|
||||
features: ['FeaturesService', function(FeaturesService) {
|
||||
|
||||
@ -52,6 +52,7 @@
|
||||
.BreadCrumb-item {
|
||||
display: inline-block;
|
||||
color: #B7B7B7;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.BreadCrumb-item + .BreadCrumb-item:before {
|
||||
|
||||
@ -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();
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user