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/frontend/app/components/wp-activity/activity-link-directive.js

16 lines
385 B

module.exports = function() {
return {
restrict: 'E',
templateUrl: '/templates/work_packages/activities/_link.html',
scope: {
workPackage: '=',
activityNo: '=',
onBlur: '&',
onFocus: '&'
},
link: function(scope) {
scope.workPackageId = scope.workPackage.id;
scope.activityHtmlId = 'activity-' + scope.activityNo;
}
};
};