section.sprints
    header
        h1 SPRINTS
        div.summary
            ul
                li
                    span.number(ng-bind="project.total_milestones") --
                    span.description <br/>sprints
            div.new-sprint
                a.button.button-green(href="", title="Add New sprint",
                                      ng-click="ctrl.addNewSprint()",
                                      tg-check-permission="add_milestone")
                    span.text + New sprint

    div.sprint.sprint-open(ng-repeat="sprint in openSprints track by sprint.id" tg-backlog-sprint="sprint")
        include sprint

    a.filter-closed-sprints(href="")
        span.icon.icon-archive
        span(tg-backlog-toggle-closed-sprints-visualization="ctrl.excludeClosedSprints") Show closed sprints
        span.load

    div.sprint.sprint-closed(ng-repeat="sprint in closedSprints track by sprint.id" tg-backlog-sprint="sprint")
        include sprint

section.sprints
    header
        h1 SPRINTS
        div.summary
            ul
                li
                    span.number(ng-bind="project.total_milestones") --
                    span.description <br/>sprints
            div.new-sprint
                a.button.button-green(href="", title="Add New sprint",
                                      ng-click="ctrl.addNewSprint()",
                                      tg-check-permission="add_milestone")
                    span.text + New sprint

    div.sprint.sprint-open(ng-repeat="sprint in openSprints track by sprint.id" tg-backlog-sprint="sprint")
        include sprint

    a.filter-closed-sprints(href="", ng-show="project.total_closed_milestones")
        span.icon.icon-archive
        span(tg-backlog-toggle-closed-sprints-visualization="ctrl.excludeClosedSprints") Show closed sprints
        span.load

    div.sprint.sprint-closed(ng-repeat="sprint in closedSprints track by sprint.id" tg-backlog-sprint="sprint")
        include sprint

Fix ng-show condition in milestone
Fix ng-show condition in milestone
