Fix template paths.
This commit is contained in:
parent
a9c45119d6
commit
c8cfed2018
@ -240,7 +240,7 @@ var accountModule = angular.module('accountant.accounts', [
|
|||||||
$ngBootbox.customDialog({
|
$ngBootbox.customDialog({
|
||||||
scope: scope,
|
scope: scope,
|
||||||
title: title,
|
title: title,
|
||||||
templateUrl: 'views/account.form.tmpl.html',
|
templateUrl: '/views/account.form.tmpl.html',
|
||||||
onEscape: true,
|
onEscape: true,
|
||||||
buttons: {
|
buttons: {
|
||||||
save: {
|
save: {
|
||||||
|
@ -82,17 +82,17 @@ var app = angular.module('accountant', [
|
|||||||
// Defining template and controller in function of route.
|
// Defining template and controller in function of route.
|
||||||
$routeProvider
|
$routeProvider
|
||||||
.when('/account/:accountId/operations', {
|
.when('/account/:accountId/operations', {
|
||||||
templateUrl: 'views/operations.html',
|
templateUrl: '/views/operations.html',
|
||||||
controller: 'OperationController',
|
controller: 'OperationController',
|
||||||
controllerAs: 'operationsCtrl'
|
controllerAs: 'operationsCtrl'
|
||||||
})
|
})
|
||||||
.when('/account/:accountId/scheduler', {
|
.when('/account/:accountId/scheduler', {
|
||||||
templateUrl: 'views/scheduler.html',
|
templateUrl: '/views/scheduler.html',
|
||||||
controller: 'SchedulerController',
|
controller: 'SchedulerController',
|
||||||
controllerAs: 'schedulerCtrl'
|
controllerAs: 'schedulerCtrl'
|
||||||
})
|
})
|
||||||
.when('/accounts', {
|
.when('/accounts', {
|
||||||
templateUrl: 'views/accounts.html',
|
templateUrl: '/views/accounts.html',
|
||||||
controller: 'AccountController',
|
controller: 'AccountController',
|
||||||
controllerAs: 'accountsCtrl'
|
controllerAs: 'accountsCtrl'
|
||||||
})
|
})
|
||||||
@ -149,7 +149,7 @@ var app = angular.module('accountant', [
|
|||||||
|
|
||||||
$ngBootbox.customDialog({
|
$ngBootbox.customDialog({
|
||||||
title: 'Authentification requise',
|
title: 'Authentification requise',
|
||||||
templateUrl: 'views/login.tmpl.html',
|
templateUrl: '/views/login.tmpl.html',
|
||||||
buttons: {
|
buttons: {
|
||||||
login: {
|
login: {
|
||||||
label: 'Login',
|
label: 'Login',
|
||||||
|
Loading…
Reference in New Issue
Block a user