Show message if no projects are in list

This commit is contained in:
Eike Foken
2011-09-28 22:50:48 +02:00
parent 2e43a2c2d0
commit 6e5538ac2a

View File

@@ -19,6 +19,7 @@
</thead>
<tbody>
<?php
if (count($projects) > 0):
foreach ($projects as $project):
?>
<tr>
@@ -50,6 +51,13 @@
</tr>
<?php
endforeach;
else:
?>
<tr>
<td colspan="4"><?=_("You haven't created any projects yet.");?></td>
</tr>
<?php
endif;
?>
</tbody>
</table>