Sha256: c52b2755c5c733c701af7eb0d2b5b19dc06597fa023af94d805d5d0a84a85929

Contents?: true

Size: 1.71 KB

Versions: 1

Compression:

Stored size: 1.71 KB

Contents

/**
 Copyright 2015 Red Hat, Inc.

 This software is licensed to you under the GNU General Public
 License as published by the Free Software Foundation; either version
 2 of the License (GPLv2) or (at your option) any later version.
 There is NO WARRANTY for this software, express or implied,
 including the implied warranties of MERCHANTABILITY,
 NON-INFRINGEMENT, or FITNESS FOR A PARTICULAR PURPOSE. You should
 have received a copy of GPLv2 along with this software; if not, see
 http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
 **/

/**
 * @ngdoc object
 * @name Bastion.docker-tags.config
 *
 * @requires $stateProvider
 *
 * @description
 *   State routes defined for the docker tags module.
 */
angular.module('Bastion.docker-tags').config(['$stateProvider', function ($stateProvider) {
    $stateProvider.state('docker-tags', {
        abstract: true,
        controller: 'DockerTagsController',
        templateUrl: 'docker-tags/views/docker-tags.html'
    })
    .state('docker-tags.index', {
        url: '/docker_tags',
        permission: ['view_products', 'view_content_views'],
        views: {
            'table': {
                templateUrl: 'docker-tags/views/docker-tags-table-full.html'
            }
        }
    })
    .state('docker-tags.details', {
        url: '/docker_tags/:tagId',
        permission: ['view_products', 'view_content_views'],
        collapsed: true,
        views: {
            'table': {
                templateUrl: 'docker-tags/views/docker-tags-table-collapsed.html'
            },
            'action-panel': {
                controller: 'DockerTagsDetailsController',
                templateUrl: 'docker-tags/details/views/docker-tags-details.html'
            }
        }
    });
}]);

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
katello-2.2.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/docker-tags/docker-tags.routes.js