Skip to content
Snippets Groups Projects
Commit cb0625b1 authored by Felix Schäfer's avatar Felix Schäfer :construction_worker:
Browse files

Don't show the public registrations table if there are no public registrations yet

parent 70c2d117
No related branches found
No related tags found
No related merge requests found
{% load i18n %} {% load i18n %}
<section class="front-page"> <section class="front-page">
<h3>{% trans "Public registrations" %}</h3> <h3>{% trans "Public registrations" %}</h3>
{% if not public_registrations %}
<div>
<div class="col-md-12">
<p>{% trans "No public registrations yet." %}</p>
</div>
</div>
{% else %}
<div class="table-responsive"> <div class="table-responsive">
<table class="table table-striped sortable"> <table class="table table-striped sortable">
<thead> <thead>
...@@ -23,4 +30,5 @@ ...@@ -23,4 +30,5 @@
</tbody> </tbody>
</table> </table>
</div> </div>
{% endif %}
</section> </section>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment