OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/assets/javascripts/angular/directives/timelines/option_column_directive.js

17 lines
439 B

angular.module('openproject.timelines.directives')
.directive('optionColumn', [function() {
return {
restrict: 'A',
scope: true,
compile: function(tElement, tAttrs, transclude) {
return {
pre: function(scope, iElement, iAttrs, controller) {
scope.isDateOption = function(option) {
return (option === 'start_date' || option === 'due_date');
};
}
};
}
};
}]);