Sha256: 248762d70fa945ff6f74e6bd62b7298f579c7fdd03ca58049225ac52906d8db5

Contents?: true

Size: 1.89 KB

Versions: 15

Compression:

Stored size: 1.89 KB

Contents

/**
 * @ngdoc object
 * @name Bastion.ostree-branches.config
 *
 * @requires $stateProvider
 *
 * @description
 *   State routes defined for the ostree branches module.
 */
angular.module('Bastion.ostree-branches').config(['$stateProvider', function ($stateProvider) {
    $stateProvider.state('ostree-branches', {
        abstract: true,
        controller: 'OstreeBranchesController',
        templateUrl: 'ostree-branches/views/ostree-branches.html'
    })
    .state('ostree-branches.index', {
        url: '/ostree_branches?repositoryId',
        permission: ['view_products', 'view_content_views'],
        views: {
            'table': {
                templateUrl: 'ostree-branches/views/ostree-branches-table-full.html'
            }
        }
    })
    .state('ostree-branches.details', {
        abstract: true,
        url: '/ostree_branches/:branchId',
        permission: ['view_products', 'view_content_views'],
        collapsed: true,
        views: {
            'table': {
                templateUrl: 'ostree-branches/views/ostree-branches-table-collapsed.html'
            },
            'action-panel': {
                controller: 'OstreeBranchesDetailsController',
                templateUrl: 'ostree-branches/details/views/ostree-branches-details.html'
            }
        }
    })
    .state('ostree-branches.details.info', {
        url: '/ostree_branches/info',
        collapsed: true,
        permission: ['view_products', 'view_content_views'],
        templateUrl: 'ostree-branches/details/views/ostree-branches-details-info.html'
    })
    .state('ostree-branches.details.repositories', {
        url: '/ostree_branches/repositories',
        collapsed: true,
        permission: ['view_products', 'view_content_views'],
        controller: 'OstreeBranchesDetailsRepositoriesController',
        templateUrl: 'ostree-branches/details/views/ostree-branches-details-repositories.html'
    });
}]);

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
katello-3.3.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.3.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.3.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.3.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.3.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.3.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.3.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.2.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.2.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.2.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.2.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.2.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js
katello-3.2.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/ostree-branches/ostree-branches.routes.js