Sha256: 63efb63910cd2b4bc8ac22c5da4a64dbeb16e2c574925a54198dfc7e13c6e326
Contents?: true
Size: 1.13 KB
Versions: 22
Compression:
Stored size: 1.13 KB
Contents
/** * @ngdoc module * @name Bastion.tasks * * @description * Module for task related functionality. */ angular.module('Bastion.tasks', [ 'ngResource', 'ui.router', 'Bastion' ]); /** * @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
22 entries across 22 versions & 1 rubygems