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/option_column_directive.js

15 lines
402 B

uiComponentsApp.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');
};
}
};
}
};
}]);