Fixing sprint classes in backlog

stable
Alejandro Alonso 2014-06-30 10:05:32 +02:00
parent 11547946a4
commit d62b99dc35
1 changed files with 2 additions and 4 deletions

View File

@ -366,10 +366,10 @@ BacklogSprintDirective = ($repo) ->
if $scope.$first
$el.addClass("sprint-current")
if sprint.closed
else if sprint.closed
$el.addClass("sprint-closed")
if not $scope.$first and not sprint.closed
else if not $scope.$first and not sprint.closed
$el.addClass("sprint-old-open")
# Update progress bars
@ -720,5 +720,3 @@ module.directive("tgBacklogSprint", ["$tgRepo", BacklogSprintDirective])
module.directive("tgUsPoints", ["$tgRepo", UsPointsDirective])
module.directive("tgUsRolePointsSelector", ["$rootScope", UsRolePointsSelectorDirective])
module.directive("tgGmBacklogGraph", GmBacklogGraphDirective)