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.") 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:

View File

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