<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
<title>To-Do List for
<?scm (gtt-show (gtt-project-title (gtt-linked-project))) ?>
</title>
<?scm (gtt-include "gtt-style.css") ?>
</head>
<body bgcolor="#c8c8d3">
<div id="gnotime-body">

<h1>To-Do List for
<?scm (gtt-show (gtt-project-title (gtt-linked-project))) ?>
--
<?scm (gtt-show (gtt-project-desc (gtt-linked-project))) ?>
</h1>

<div id="gnotime-project-todo-overview">
<?scm (gtt-show (gtt-project-notes (gtt-linked-project))) ?>
</div>
<br><br>

<?scm 
  (define (do-show-todo) 
    (list 
      (gtt-show  '"
         <table class=gnotime-todo-table bgcolor=#f8f8f8 border=0 cellspacing=2 cellpadding=4>
         <tr class=gnotime-todo-table-header bgcolor=#e8e8e8>
         <th>Importance</th>
         <th>Urgency</th>
         <th>Title</th>
         <th>Description</th>
         <th>Status</th>
         </tr> "

      )
      (gtt-show-projects (gtt-linked-or-query-results)
        (list ''"<tr><td>"        gtt-project-importance ''"</td>\n"
              ''"<td>"            gtt-project-urgency    ''"</td>\n"
              ''"<td>"            gtt-project-title-link ''"</td>\n"
              ''"<td align=left>" gtt-project-desc       ''"</td>\n"
              ''"<td>"            gtt-project-status     ''"</td>\n"
              ''"</tr>\n"
         ))
       )
      (gtt-show  '"</table>")
     )

    (if (null? (gtt-linked-or-query-results)) 
        (if (gtt-did-query)
          (gtt-show '"<br><br><b><big>The query did not return 
                      any projects to be listed.</big></b>")
          (gtt-show '"<br><br><b><big>There is no to-do list to show, 
                      the selected project has no sub-projects!</big></b>")
        )
        (do-show-todo)
    )

?>

<br><br>
<div align=right>
Brought to you by ...  <br>
<a href="http://gttr.sourceforge.net/">
<img src="gnotime-logo.png" border="0" width="155" height="28"></a>
</div>

</div>
</body>
</html>
