Sha256: d173bd600459daa751dfbc0bbe67ebd38c3a150d2d5bf698bd38ab9ab51c5101

Contents?: true

Size: 1.02 KB

Versions: 188

Compression:

Stored size: 1.02 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.details', {
        url: 'katello_tasks/:taskId',
        permission: 'view_tasks',
        collapsed: true,
        controller: 'TaskDetailsController',
        templateUrl: 'tasks/views/task-details-standalone.html'
    })
    .state('task', {
        url: 'foreman_tasks/tasks/:taskId',
        controller: 'TaskDetailsController',
        permission: 'view_tasks',
        templateUrl: 'tasks/views/task-details-standalone.html'
    });

}]);

Version data entries

188 entries across 188 versions & 1 rubygems

Version Path
katello-4.15.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.15.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.14.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.14.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.14.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.14.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.14.0.rc1.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.14.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.13.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.13.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.12.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.13.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.12.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.12.0.rc3 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.12.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.12.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.11.1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.11.0 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.11.0.rc2 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js
katello-4.11.0.rc1 engines/bastion_katello/app/assets/javascripts/bastion_katello/tasks/tasks.module.js