Only show cbr table when data is present
This commit is contained in:
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…
Reference in New Issue