Only show cbr table when data is present

This commit is contained in:
Sebastian Lohff 2017-01-26 23:59:21 +01:00
parent b3ffd41973
commit 923c0a8914
2 changed files with 2 additions and 3 deletions

View File

@ -145,8 +145,6 @@ def uploadCBR(request):
messages.warnnig(request, "CBR file was parsed, but no QSOs could be saved, as all cointained errors.")
return HttpResponseRedirect(reverse("contest:uploadCBR"))
else:
pass
else:
form = CBRForm()
else:

View File

@ -40,7 +40,7 @@
</div>
{% endif %}
{% if verifyData %}
<table class="table">
<thead>
<tr>
@ -57,6 +57,7 @@
{% endfor %}
</tbody>
</table>
{% endif %}
</div>
</div>