{% load cache %} {% load tom_common_extras targets_extras %}

{{ target.name }} {% if target.type == 'SIDEREAL' %} {% with target.ra|deg_to_sexigesimal:"hms" as ra %} {% with target.dec|deg_to_sexigesimal:"dms" as dec %} {% copy_button ra|addstr:" "|addstr:dec 'Copy Coordinates' %} {% endwith %} {% endwith %} {% endif %}

{% if target.featured_image %} {% cache None featured_image target.id %} {% endcache %} {% endif %}