{% extends 'tom_common/base.html' %} {% load comments bootstrap4 tom_common_extras targets_extras observation_extras dataproduct_extras tom_education_plots static cache tom_education_extras %} {% block title %}Target {{ object.name }}{% endblock %} {% block additional_css %} {% endblock %} {% block content %}

{{ object.name }} details {% if object.extra_fields.active %} Active {% else %} Inactive {% endif %}

Update Target Delete Target
{% for key, value in target.as_dict.items %} {% if value and key != 'name' %}
{% verbose_name target key %}
{{ value|truncate_number }}
{% endif %} {% if key == 'ra' %}
 
{{ value|deg_to_sexigesimal:"hms" }}
{% endif%} {% if key == 'dec' %}
 
{{ value|deg_to_sexigesimal:"dms" }}
{% endif%} {% endfor %}
{% for key, value in target.extra_fields.items %} {% if key in display_extras %}
{{ key }}
{{ value }}
{% endif %} {% endfor %}
{% if target.tags.items %}

Tags

{% for key, value in target.tags.items %}
{{ key }}
{{ value }}
{% endfor %}
{% endif %}
{% dataproduct_other_for_target object %} {% targets_reduceddata targetid=object.pk %}

Observations

{% for observation in object.observationrecord_set.all %} {% endfor %}
StatusScheduled
{% status_icon observation.status %} {% if observation.scheduled_start %} {{ observation.scheduled_start }} {% else %} Pending {% endif %}
{% endblock %}