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