diff --git a/app/assets/javascripts/angular/work_packages/tabs/user-activity-directive.js b/app/assets/javascripts/angular/work_packages/tabs/user-activity-directive.js index 97b125c30cda..4e464cbf2743 100644 --- a/app/assets/javascripts/angular/work_packages/tabs/user-activity-directive.js +++ b/app/assets/javascripts/angular/work_packages/tabs/user-activity-directive.js @@ -42,6 +42,8 @@ angular.module('openproject.workPackages.tabs') scope.userPath = PathHelper.staticUserPath; scope.activity.links.user.fetch().then(function(user) { + scope.userId = user.props.id; + scope.userName = user.props.firstName + ' ' + user.props.lastName; scope.userAvatar = user.props.avatar; }); } diff --git a/public/templates/work_packages/tabs/_user_activity.html b/public/templates/work_packages/tabs/_user_activity.html index 898c9c2edc7a..ecc02b3653a0 100644 --- a/public/templates/work_packages/tabs/_user_activity.html +++ b/public/templates/work_packages/tabs/_user_activity.html @@ -2,7 +2,7 @@
- + commented on