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.")
|
messages.warnnig(request, "CBR file was parsed, but no QSOs could be saved, as all cointained errors.")
|
||||||
|
|
||||||
return HttpResponseRedirect(reverse("contest:uploadCBR"))
|
return HttpResponseRedirect(reverse("contest:uploadCBR"))
|
||||||
else:
|
|
||||||
pass
|
|
||||||
else:
|
else:
|
||||||
form = CBRForm()
|
form = CBRForm()
|
||||||
else:
|
else:
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
</div>
|
</div>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
|
{% if verifyData %}
|
||||||
<table class="table">
|
<table class="table">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -57,6 +57,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue