| @@ -40,6 +40,13 @@ from slugify import slugify | |||||
| </tr> | </tr> | ||||
| </thead> | </thead> | ||||
| <tbody> | <tbody> | ||||
| % if len(tasks[Entity])==0: | |||||
| <tr> | |||||
| <td colspan="2" style="text-align:center;"> | |||||
| <i>Il n'y a pas de tâches dans ce pôle</i> | |||||
| </td> | |||||
| </tr> | |||||
| % endif | |||||
| % for task in tasks[Entity]: | % for task in tasks[Entity]: | ||||
| <tr> | <tr> | ||||
| <td> | <td> | ||||
| @@ -70,10 +77,10 @@ from slugify import slugify | |||||
| % endfor | % endfor | ||||
| </tbody> | </tbody> | ||||
| </table> | </table> | ||||
| </div> | |||||
| </div> | |||||
| % endfor | % endfor | ||||
| </div> | </div> | ||||
| </div> | |||||
| <%def name="jsAddOn()"> | <%def name="jsAddOn()"> | ||||
| <script> | <script> | ||||