mirror of
https://github.com/ansible/awx.git
synced 2026-01-14 03:10:42 -03:30
updating to use template URL helper function in routes
This commit is contained in:
parent
d806318342
commit
b2b867a529
@ -4,10 +4,12 @@
|
||||
* All Rights Reserved
|
||||
*************************************************/
|
||||
|
||||
import {templateUrl} from '../../shared/template-url/template-url.factory';
|
||||
|
||||
export default {
|
||||
name: 'inventoryScriptsAdd',
|
||||
route: '/inventory_scripts/add',
|
||||
templateUrl: '/static/js/inventory-scripts/add/add.partial.html',
|
||||
templateUrl: templateUrl('inventory-scripts/add/add'),
|
||||
controller: 'addController',
|
||||
resolve: {
|
||||
features: ['FeaturesService', function(FeaturesService) {
|
||||
|
||||
@ -4,10 +4,12 @@
|
||||
* All Rights Reserved
|
||||
*************************************************/
|
||||
|
||||
import {templateUrl} from '../../shared/template-url/template-url.factory';
|
||||
|
||||
export default {
|
||||
name: 'inventoryScriptsEdit',
|
||||
route: '/inventory_scripts/:inventory_script',
|
||||
templateUrl: '/static/js/inventory-scripts/edit/edit.partial.html',
|
||||
templateUrl: templateUrl('inventory-scripts/edit/edit'),
|
||||
controller: 'editController',
|
||||
resolve: {
|
||||
features: ['FeaturesService', function(FeaturesService) {
|
||||
|
||||
@ -4,10 +4,12 @@
|
||||
* All Rights Reserved
|
||||
*************************************************/
|
||||
|
||||
import {templateUrl} from '../../shared/template-url/template-url.factory';
|
||||
|
||||
export default {
|
||||
name: 'inventoryScriptsList',
|
||||
route: '/inventory_scripts',
|
||||
templateUrl: '/static/js/inventory-scripts/list/list.partial.html',
|
||||
templateUrl: templateUrl('inventory-scripts/list/list'),
|
||||
controller: 'inventoryScriptsListController',
|
||||
resolve: {
|
||||
features: ['FeaturesService', function(FeaturesService) {
|
||||
|
||||
@ -4,10 +4,12 @@
|
||||
* All Rights Reserved
|
||||
*************************************************/
|
||||
|
||||
import {templateUrl} from '../../shared/template-url/template-url.factory';
|
||||
|
||||
export default {
|
||||
name: 'managementJobsList',
|
||||
route: '/management_jobs',
|
||||
templateUrl: '/static/js/management-jobs/list/list.partial.html',
|
||||
templateUrl: templateUrl('management-jobs/list/list'),
|
||||
controller: 'listController',
|
||||
resolve: {
|
||||
features: ['FeaturesService', function(FeaturesService) {
|
||||
|
||||
@ -4,10 +4,12 @@
|
||||
* All Rights Reserved
|
||||
*************************************************/
|
||||
|
||||
import {templateUrl} from '../../shared/template-url/template-url.factory';
|
||||
|
||||
export default {
|
||||
name: 'managementJobsSchedule',
|
||||
route: '/management_jobs/:management_job/schedules',
|
||||
templateUrl: '/static/js/management-jobs/schedule/schedule.partial.html',
|
||||
templateUrl: templateUrl('management-jobs/schedule/schedule'),
|
||||
controller: 'scheduleController',
|
||||
resolve: {
|
||||
features: ['FeaturesService', function(FeaturesService) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user