{% extends 'tom_common/base.html' %} {% load bootstrap4 static cache %} {% block title %} Data Product List {% endblock %} {% block additional_css %} {% endblock %} {% block content %} {% include 'tom_dataproducts/partials/js9_scripts.html' %}
{% bootstrap_pagination page_obj extra=request.GET.urlencode %}
{% for product in object_list %} {% if product.observation_record.id %} {% else %} {% endif %} {% if product.get_file_extension == '.fz' or product.get_file_extension == '.fits' %} {% else %} {% endif %} {% empty %} {% endfor %}
File Target Observation Groups Type Thumbnail
{{ product.get_file_name|truncatechars:40 }} {{ product.target.name|truncatechars:40 }}{{ product.observation_record|truncatechars:40 }} {% for group in product.group.all %} {{ group.name|truncatechars:40 }} {% endfor %} {% if product.data_product_type %} {{ product.get_type_display }} {% endif %} {% if product.get_preview %} {% cache None thumbnail product.id %}
{% endcache %} {% include 'tom_dataproducts/partials/js9_button.html' with url=product.data.url only %} {% else %}
{% endif %}
No data yet. You might want to save some data products from your completed observations.
{% bootstrap_pagination page_obj extra=request.GET.urlencode %}
{% bootstrap_form filter.form %} {% buttons %} Reset {% endbuttons %}
Data Groups
{% for group in product_groups %}

{{ group.name }}
Products: {{ group.dataproduct_set.count }}

{% endfor %} Manage groups
{% endblock %}