Sha256: a5c5261f67803eb15e11e299e3949282fdd7ee4c943c919973ece3960ecfae4f

Contents?: true

Size: 1.18 KB

Versions: 25

Compression:

Stored size: 1.18 KB

Contents

/**
 * @ngdoc module
 * @name  Bastion.tasks
 *
 * @description
 *   Module for task related functionality.
 */
angular.module('Bastion.tasks', [
    'ngResource',
    'ui.router',
    'Bastion',
    'Bastion.components',
    'Bastion.i18n'
]);

/**
 * @ngdoc object
 * @name Bastion.tasks.config
 *
 * @requires $stateProvider
 *
 * @description
 *   Set up the states for tasks.
 */
angular.module('Bastion.tasks').config(['$stateProvider', function ($stateProvider) {
    $stateProvider.state('tasks', {
        abstract: true,
        templateUrl: 'tasks/views/tasks.html'
    })
    .state('tasks.index', {
        url: '/katello_tasks',
        permission: 'view_tasks',
        templateUrl: 'tasks/views/tasks-index.html'
    })
    .state('tasks.details', {
        url: '/katello_tasks/:taskId',
        permission: 'view_tasks',
        collapsed: true,
        controller: 'TaskDetailsController',
        templateUrl: 'tasks/views/task-details-standalone.html'
    })
    .state('task', {
        url: '/katello_tasks/single/:taskId',
        controller: 'TaskDetailsController',
        permission: 'view_tasks',
        templateUrl: 'tasks/views/task-details-standalone.html'
    });

}]);

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
katello-3.5.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.4.5 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.4.4 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.4.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.4.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.4.0.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.4.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.3.2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.4.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.4.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.4.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.3.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.3.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.3.0.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.3.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.3.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.3.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.3.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.2.1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-3.2.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js