diff --git a/app/coffee/modules/team/main.coffee b/app/coffee/modules/team/main.coffee
index 09e00401..10c4402c 100644
--- a/app/coffee/modules/team/main.coffee
+++ b/app/coffee/modules/team/main.coffee
@@ -143,26 +143,30 @@ module.directive("tgTeamFilters", [TeamFiltersDirective])
TeamMemberStatsDirective = () ->
template = """
-
+
-
+
-
+
-
+
-
+
"""
return {
- template: template
+ template: template,
+ scope: {
+ "stats": "=",
+ "userId": "=user"
+ }
}
module.directive("tgTeamMemberStats", TeamMemberStatsDirective)
@@ -183,7 +187,7 @@ TeamMemberCurrentUserDirective = () ->
-
+
"""
return {
@@ -212,7 +216,7 @@ TeamMembersDirective = () ->
-
+
"""
return {
diff --git a/app/partials/views/modules/team/team-table.jade b/app/partials/views/modules/team/team-table.jade
index 43056945..eb2bc4c5 100644
--- a/app/partials/views/modules/team/team-table.jade
+++ b/app/partials/views/modules/team/team-table.jade
@@ -26,7 +26,7 @@ section.table-team.basic-table
div.popover.attribute-explanation
span How far did you go into this Taiga?
- div.hero(tg-team-current-user, currentuser="currentUser")
+ div.hero(tg-team-current-user, stats="stats", currentuser="currentUser")
h2
span Team >