Only show cbr table when data is present

py3
Sebastian Lohff 7 years ago
parent b3ffd41973
commit 923c0a8914

@ -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:

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

Loading…
Cancel
Save