@ -8,7 +8,7 @@ angular.module('openproject.workPackages.directives')
scope: {
workPackage: '=',
column: '=',
displayType: '='
displayType: '@'
},
templateUrl: '/templates/work_packages/work_package_column.html',
link: function(scope, element, attributes) {
@ -25,6 +25,7 @@ angular.module('openproject.helpers')
return CustomFieldHelper.booleanCustomFieldValue(value);
case 'user':
if (users && users[value]) {
// try to look up users
return users[value].name;
} else {
// return user id
@ -112,7 +112,7 @@
<span work-package-column
work-package="row.object"
column="column"
display-type="column.meta_data.data_type"/>
display-type="{{column.meta_data.data_type}}"/>
</td>
</tr>