aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortr4ck3ur <tr4ck3ur@style-python.fr>2015-02-21 20:39:25 +0100
committertr4ck3ur <tr4ck3ur@style-python.fr>2015-02-21 20:39:25 +0100
commitf487699e6aa1f39e4345d13d118132e410567652 (patch)
tree628a8c0489c257c890cb9c13fe8a68bc4f05ba3f
parent2fd6f0c9621c8d746b8a4836bd61be6c86df80a7 (diff)
downloadjm2l-f487699e6aa1f39e4345d13d118132e410567652.tar.gz
jm2l-f487699e6aa1f39e4345d13d118132e410567652.tar.bz2
jm2l-f487699e6aa1f39e4345d13d118132e410567652.tar.xz
jm2l-f487699e6aa1f39e4345d13d118132e410567652.zip
Fix for W3Corigin/master
-rw-r--r--jm2l/templates/Staff/list.mako11
1 files changed, 9 insertions, 2 deletions
diff --git a/jm2l/templates/Staff/list.mako b/jm2l/templates/Staff/list.mako
index cd5562b..a7abbf9 100644
--- a/jm2l/templates/Staff/list.mako
+++ b/jm2l/templates/Staff/list.mako
@@ -40,6 +40,13 @@ from slugify import slugify
</tr>
</thead>
<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]:
<tr>
<td>
@@ -70,10 +77,10 @@ from slugify import slugify
% endfor
</tbody>
</table>
- </div>
+ </div>
% endfor
</div>
-
+</div>
<%def name="jsAddOn()">
<script>