{% if request.GET.type == 'SIDEREAL' %} {% endif %} {% for target in targets %} {% if request.GET.type == 'SIDEREAL' %} {% endif %} {% empty %} {% endfor %}
{% if all_checked %} {% else %} {% endif %} Name TypeRA DecObservations Saved Data
{% if all_checked %} {% else %} {% endif %} {{ target.names|join:", " }} {{ target.get_type_display }}{{ target.ra }} {{ target.dec }}{{ target.observationrecord_set.count }} {{ target.dataproduct_set.count }}
{% if authenticated %} {% if empty_database and not query_string %} There are no targets in the database. You might want to create a target manually, import one from an alert broker or
{% csrf_token %}
{% else %} No targets match those filters. {% endif %} {% else %} Please login to view or create targets. {% endif %}