Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on the morning of Tuesday 11th August 2020, starting at approximately 9am PDT. It is expected to take around 20 minutes and there will be a short period of downtime (less than five minutes) towards the end of the maintenance window. Please direct any comments, questions, or concerns to computing-help@ligo.org.

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