Commit 6463fd49 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

Add handling for case with no candidates to public alerts page

parent 7d81562d
......@@ -26,6 +26,7 @@
<h3>Detection candidates: {{ candidates }}</h3>
<br /><br />
{% if candidates > 0 %}
<div class="tablesaw-overflow">
<table class="tablesaw" data-tablesaw-sortable data-tablesaw-sortable-switch data-tablesaw-mode="columntoggle" data-tablesaw-minimap>
<thead><tr>
......@@ -98,7 +99,9 @@
<li>Retractions are marked in red.</li>
<li>More details about public alerts are provided in the <a href="https://emfollow.docs.ligo.org/userguide/">LIGO/Virgo Alerts User Guide</a>.</li>
</ul>
{% else %}
<h2>No candidates at present.</h2>
{% endif %}
<br /><br /><br />
{% endblock %}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment