Chapter 7.2. Dashboard Templates
The next logical place to go in our WhatWhat code walkthrough is the template code that displays the Dashboard. You can see a sample of this templateâ€™s output in Figure 7.1.
Figure 7.1. Dashboard Listing of open projects
This is by far the largest Kid template weâ€™ve seen, so it should help you to see how to put everything together in a more complex page.
The first thing the whatwhat.templates.dashboard.index template does is use Kidâ€™s <?python ?> syntax to embed a brief snippet of Python into the template:
<?python from whatwhat.model import STATUS_BEHIND_SCHEDULE ?>
In general, itâ€™s ...