Handle the case where user has no projects.

This commit is contained in:
Pēteris Caune 2019-01-31 22:21:20 +02:00
parent c4c657f5d4
commit 0cceeffcd8
No known key found for this signature in database
GPG Key ID: E28D7679E9A9EDE2
2 changed files with 5 additions and 1 deletions

View File

@ -105,7 +105,7 @@
{% endfor %} {% endfor %}
</table> </table>
{% else %} {% else %}
<p>You don't have any projects. Create one!</p> <p>You do not have any projects. Create one!</p>
{% endif %} {% endif %}
<a <a

View File

@ -41,6 +41,10 @@
</div> </div>
</div> </div>
</a> </a>
{% empty %}
<div class="col-sm-12">
<p>You do not have any projects.</p>
</div>
{% endfor %} {% endfor %}
</div> </div>
</div> </div>