remove EDIT from edit org breadcrumb label, trim whitespace, add text-uppercase to .BreadCrumb-item

This commit is contained in:
Leigh Johnson 2016-02-15 11:36:46 -05:00
parent 4558b880a0
commit 9278a50029
3 changed files with 2 additions and 4 deletions

View File

@ -615,7 +615,7 @@ var tower = angular.module('Tower', [
},
ncyBreadcrumb: {
parent: "organizations",
label: "EDIT {{name}}"
label: "{{name}}"
},
resolve: {
features: ['FeaturesService', function(FeaturesService) {

View File

@ -52,6 +52,7 @@
.BreadCrumb-item {
display: inline-block;
color: #B7B7B7;
text-transform: uppercase;
}
.BreadCrumb-item + .BreadCrumb-item:before {

View File

@ -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();