From 332fd99bfa90b07173ba9b1aee2820ad2b6309e0 Mon Sep 17 00:00:00 2001 From: Alejandro Alonso Date: Thu, 8 Jan 2015 11:57:08 +0100 Subject: [PATCH] Show closed milestones button now only appear when there are closed sprints --- app/partials/views/modules/sprints.jade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/partials/views/modules/sprints.jade b/app/partials/views/modules/sprints.jade index 4814f19c..73b8dacf 100644 --- a/app/partials/views/modules/sprints.jade +++ b/app/partials/views/modules/sprints.jade @@ -15,7 +15,7 @@ section.sprints section.sprint(ng-repeat="sprint in openSprints track by sprint.id" tg-backlog-sprint="sprint") include sprint - div(class="filter-closed-sprints", ng-show="openSprints.length > 1") + div(class="filter-closed-sprints", ng-show="project.total_closed_milestones") a(href="", tg-backlog-toggle-closed-sprints-visualization="ctrl.excludeClosedSprints") Show closed sprints section.sprint(ng-repeat="sprint in closedSprints track by sprint.id" tg-backlog-sprint="sprint")