Hide shop table header if there are no shops

This commit is contained in:
Felipe Martín 2015-06-23 07:39:23 +02:00
parent 69d555352c
commit a62983b77d
1 changed files with 2 additions and 0 deletions

View File

@ -43,6 +43,7 @@
</div>
</div>
<div class="eleven wide column">
{% if amiibo.shops_set.exists %}
<table class="ui celled table">
<thead>
<tr>
@ -66,6 +67,7 @@
{% endfor %}
</tbody>
</table>
{% endif %}
</div>
</div>
{% endblock %}