|
|
@ -166,13 +166,14 @@ angular.module('openproject.workPackages.controllers') |
|
|
|
$scope.attachments = workPackage.embedded.attachments; |
|
|
|
$scope.attachments = workPackage.embedded.attachments; |
|
|
|
|
|
|
|
|
|
|
|
// relations
|
|
|
|
// relations
|
|
|
|
$scope.relatedTo = WorkPackagesHelper.getRelationOfType(workPackage, "Relation::Relates"); |
|
|
|
$scope.relatedTo = WorkPackagesHelper.getRelationsOfType(workPackage, "Relation::Relates"); |
|
|
|
$scope.duplicates = WorkPackagesHelper.getRelationOfType(workPackage, "Relation::Duplicates"); |
|
|
|
$scope.duplicates = WorkPackagesHelper.getRelationsOfType(workPackage, "Relation::Duplicates"); |
|
|
|
$scope.duplicated = WorkPackagesHelper.getRelationOfType(workPackage, "Relation::Duplicated"); |
|
|
|
$scope.duplicated = WorkPackagesHelper.getRelationsOfType(workPackage, "Relation::Duplicated"); |
|
|
|
$scope.blocks = WorkPackagesHelper.getRelationOfType(workPackage, "Relation::Blocks"); |
|
|
|
$scope.blocks = WorkPackagesHelper.getRelationsOfType(workPackage, "Relation::Blocks"); |
|
|
|
$scope.blocked = WorkPackagesHelper.getRelationOfType(workPackage, "Relation::Blocked"); |
|
|
|
$scope.blocked = WorkPackagesHelper.getRelationsOfType(workPackage, "Relation::Blocked"); |
|
|
|
$scope.precedes = WorkPackagesHelper.getRelationOfType(workPackage, "Relation::Precedes"); |
|
|
|
$scope.precedes = WorkPackagesHelper.getRelationsOfType(workPackage, "Relation::Precedes"); |
|
|
|
$scope.follows = WorkPackagesHelper.getRelationOfType(workPackage, "Relation::Follows"); |
|
|
|
$scope.follows = WorkPackagesHelper.getRelationsOfType(workPackage, "Relation::Follows"); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Author
|
|
|
|
// Author
|
|
|
|
$scope.author = workPackage.embedded.author; |
|
|
|
$scope.author = workPackage.embedded.author; |
|
|
|