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/timeline-table-directive.js

16 lines
567 B

openprojectApp.directive('timelineTable', [function() {
return {
restrict: 'E',
replace: true,
templateUrl: '/templates/timelines/timeline_table.html',
scope: true,
link: function(scope, element, attributes) {
scope.columns = scope.timeline.options.columns;
scope.height = scope.timeline.decoHeight();
scope.excludeEmpty = scope.timeline.options.exclude_empty === 'yes';
scope.isGrouping = scope.timeline.isGrouping();
scope.hideTreeRoot = scope.isGrouping || scope.timeline.options.hide_tree_root;
}
};
}]);