Cosmetic fixes on taskboard.

stable
Andrey Antukh 2014-07-09 19:19:54 +02:00
parent aecd5f302b
commit 95dc38cc81
1 changed files with 4 additions and 1 deletions

View File

@ -180,6 +180,7 @@ TaskboardRowSizeFixer = ->
TaskboardUsPointsDirective = ($repo, $confirm) ->
# TODO: i18n
pointsTemplate = _.template("""
<% _.each(usRolePoints, function(rolePoint) { %>
<li>
@ -202,7 +203,8 @@ TaskboardUsPointsDirective = ($repo, $confirm) ->
</ul>
</li>
<% }); %>
""") # TODO: i18n
""")
renderUserStoryPoints = ($el, $scope, us) ->
points = $scope.pointsList
usRolePoints = []
@ -223,6 +225,7 @@ TaskboardUsPointsDirective = ($repo, $confirm) ->
link = ($scope, $el, $attrs) ->
$ctrl = $el.controller()
us = $scope.$eval($attrs.tgTaskboardUsPoints)
renderUserStoryPoints($el, $scope, us)
$el.on "click", ".us-role-points", (event) ->