mirror of
https://github.com/johannesjo/super-productivity.git
synced 2026-07-31 11:40:47 +00:00
42 lines
1.1 KiB
JavaScript
42 lines
1.1 KiB
JavaScript
/**
|
|
* @ngdoc constant
|
|
* @name superProductivity.Dialogs
|
|
* @description
|
|
* # Dialogs
|
|
* Constant in the superProductivity.
|
|
*/
|
|
|
|
(function () {
|
|
'use strict';
|
|
|
|
angular
|
|
.module('superProductivity')
|
|
.constant('DIALOGS', {
|
|
DEFAULTS: {
|
|
clickOutsideToClose: true,
|
|
controllerAs: 'vm',
|
|
bindToController: true
|
|
},
|
|
CREATE_TASK: {
|
|
title: 'Out of undone tasks',
|
|
textContent: 'You run out of tasks. Go on and create some new ones if you like.',
|
|
ok: 'Got it!'
|
|
},
|
|
WAS_IDLE: {
|
|
controller: 'WasIdleCtrl',
|
|
templateUrl: 'scripts/dialogs/was-idle/was-idle-c.html'
|
|
},
|
|
ADD_TASK:{
|
|
controller: 'AddTaskCtrl',
|
|
templateUrl: 'scripts/dialogs/add-task/add-task-c.html'
|
|
},
|
|
TASK_SELECTION: {
|
|
controller: 'TaskSelectionCtrl',
|
|
templateUrl: 'scripts/dialogs/task-selection/task-selection-c.html'
|
|
},
|
|
TIME_ESTIMATE: {
|
|
controller: 'TimeEstimateCtrl',
|
|
templateUrl: 'scripts/dialogs/time-estimate/time-estimate-c.html'
|
|
}
|
|
});
|
|
})();
|