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

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>
......@@ -98,7 +99,9 @@
<li>Retractions are marked in red.</li>
<li>More details about public alerts are provided in the <a href="">LIGO/Virgo Alerts User Guide</a>.</li>
{% 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