only show tables when at least one proposal is found
This commit is contained in:
parent
a7a9a24c6c
commit
2305416461
|
@ -18,6 +18,9 @@
|
|||
<br>
|
||||
<div class="row">
|
||||
<h3>SpeakerProposals</h3>
|
||||
{% if not speakerproposals %}
|
||||
<p class="lead">No pending SpeakerProposals found</p>
|
||||
{% else %}
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -40,8 +43,12 @@
|
|||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
{% endif %}
|
||||
|
||||
<h3>EventProposals</h3>
|
||||
{% if not eventproposals %}
|
||||
<p class="lead">No pending SpeakerProposals found</p>
|
||||
{% else %}
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
|
@ -68,7 +75,7 @@
|
|||
{% endfor %}
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
{% endif %}
|
||||
</div>
|
||||
<script>
|
||||
$(document).ready(function(){
|
||||
|
|
Loading…
Reference in a new issue