From 578417eb69375be14450ef85ddebc995c03c8251 Mon Sep 17 00:00:00 2001
From: Robert Goldmann <deadlocker@gmx.de>
Date: Wed, 18 Jan 2017 17:59:33 +0100
Subject: [PATCH] Fixed #16

---
 php/index.php | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/php/index.php b/php/index.php
index d914979..93b6a85 100644
--- a/php/index.php
+++ b/php/index.php
@@ -493,14 +493,14 @@ function printMilestoneDoneWithTasks($color, $currentMilestone, $isFirstMileston
 				if($numberOfOpenSubtasks == 0)
 				{
 					echo '<li>' .
-						'<div class="collapsible-header bold"><i class="material-icons green-text">check</i>Layout<span class="right">' . sizeof($subtasks) . '/' . sizeof($subtasks) . '</span></div>' .
+						'<div class="collapsible-header bold"><i class="material-icons green-text">check</i>'.$currentTask['Title'].'<span class="right">' . sizeof($subtasks) . '/' . sizeof($subtasks) . '</span></div>' .
 						'<div class="collapsible-body">' .
 						'<ul class="collapsible white margin-left-and-right no-shadow margin-top-and-bottom" data-collapsible="accordion">';
 				}
 				else
 				{
 					echo '<li>' .
-						'<div class="collapsible-header bold"><i class="material-icons red-text">build</i>Layout<span class="right">' . (sizeof($subtasks) - $numberOfOpenSubtasks) . '/' . sizeof($subtasks) . '</span></div>' .
+						'<div class="collapsible-header bold"><i class="material-icons red-text">build</i>'.$currentTask['Title'].'<span class="right">' . (sizeof($subtasks) - $numberOfOpenSubtasks) . '/' . sizeof($subtasks) . '</span></div>' .
 						'<div class="collapsible-body">' .
 						'<ul class="collapsible white margin-left-and-right no-shadow margin-top-and-bottom" data-collapsible="accordion">';
 				}
-- 
GitLab