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: { ncyBreadcrumb: {
parent: "organizations", parent: "organizations",
label: "EDIT {{name}}" label: "{{name}}"
}, },
resolve: { resolve: {
features: ['FeaturesService', function(FeaturesService) { features: ['FeaturesService', function(FeaturesService) {

View File

@@ -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 {

View File

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