diff --git a/app/coffee/modules/backlog/main.coffee b/app/coffee/modules/backlog/main.coffee index 682ff4d1..cfdc518d 100644 --- a/app/coffee/modules/backlog/main.coffee +++ b/app/coffee/modules/backlog/main.coffee @@ -120,7 +120,7 @@ class BacklogController extends mixOf(taiga.Controller, taiga.PageMixin, taiga.F @scope.stats.completedPercentage = Math.round(100 * stats.closed_points / stats.total_points) else @scope.stats.completedPercentage = 0 - + return stats refreshTagsColors: -> @@ -978,9 +978,9 @@ module.directive("tgGmBacklogGraph", tgBacklogGraphDirective) TgBacklogProgressBarDirective = -> template = _.template(""" -
- - + + + """) render = (el, projectPointsPercentaje, closedPointsPercentaje) -> diff --git a/app/styles/components/summary.scss b/app/styles/components/summary.scss index b6b556b2..df9588eb 100644 --- a/app/styles/components/summary.scss +++ b/app/styles/components/summary.scss @@ -54,27 +54,22 @@ padding: 3px; position: relative; width: 15%; - .current-progress { + .defined-points { + background: $red-light; + height: 24px; + position: absolute; + width: calc(100% - 6px); + } + .project-points-progress { + background: $white; + height: 24px; + position: absolute; + } + .closed-points-progress { background: $fresh-taiga; height: 24px; - width: calc(30% - 4px); - } - .defined-points{ - width: 100%; - background: red; - height: 24px; position: absolute; } - .project-points-progress{ - background: gray; - height: 24px; - position: absolute; - } - .closed-points-progress{ - height: 24px; - position: absolute; - background: green; - } }