webapp.scripts.app.entities.metadata.metadata.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of centraldogma-server Show documentation
Show all versions of centraldogma-server Show documentation
Highly-available version-controlled service configuration repository based on Git, ZooKeeper and HTTP/2 (centraldogma-server)
The newest version!
'use strict';
angular.module('CentralDogmaAdmin')
.config(function ($stateProvider, CentralDogmaConstant) {
$stateProvider
.state('projectMetadata', {
parent: 'entity',
url: '/metadata/:projectName',
data: {},
views: {
'content@': {
templateUrl: 'scripts/app/entities/metadata/metadata.project.html',
controller: 'MetadataProjectController'
}
}
}).state('repositoryMetadata', {
parent: 'entity',
url: '/metadata/:projectName/:repoName',
data: {},
views: {
'content@': {
templateUrl: 'scripts/app/entities/metadata/metadata.repository.html',
controller: 'MetadataRepositoryController'
}
}
});
});