{#- A data plugin's Datasets (spec/plugin-pages-follow-their-role): notices, then "Served", "Wants" and "Subjects", then the vendor's sections. `data` is a meridian.roles.data.DatasetsRead, or the plugin's record extending it. -#} {% extends "meridian/base.html" %} {% import "meridian/roles/_rows.html" as om %} {% block content %} {% if not data.wants %} {% if caller.deployment_admin %} {{ om.next_step("No wants yet", "Nothing reads these datasets until a deployment admin licenses them and entitles a plugin on", "data-sources", "Data sources") }} {% else %} {{ om.next_step("No wants yet", "Nothing reads these datasets until a deployment admin licenses them and entitles a plugin on Data sources. Ask a deployment admin to license them.") }} {% endif %} {% endif %} {% block vendor_notices %}{% endblock %}

Served

{% for row in [none] + data.served %} {% if row is none %} {%- else %} {%- endif %} {% block vendor_columns scoped %}{% endblock %} {% if row is none %} {% else %} {% endif %} {% endfor %}
DatasetDataArrivesDayDefault termsEntitled at the vendorRecordedDeclinedLast recorded
{{ row.dataset }}{{ row.data }}{{ row.arrives }}{{ row.day }}{{ row.default_terms }} {{ "Licensed" if row.licensed else "Not licensed yet" }}{{ row.entitled_at_vendor }}{{ row.recorded }}{{ row.declined }}{{ row.last_recorded or "None yet" }}Details
…

{{ row.dataset }}

Data
{{ row.data }}
Arrives
{{ row.arrives }}
Day
{{ row.day }}
Default terms
{{ row.default_terms }}; {{ "Licensed" if row.licensed else "Not licensed yet" }}
Entitled at the vendor
{{ row.entitled_at_vendor }}
Recorded
{{ row.recorded }}
Declined
{{ row.declined }}
Last recorded
{{ row.last_recorded or "None yet" }}

Wants

{% if data.wants %} {% for want in data.wants %} {% endfor %}
DatasetAskedSubjectsRecordedDeclinedState
{{ want.dataset }}{{ want.asked }}{{ want.subjects }}{{ want.recorded }}{{ want.declined }}{{ want.state }}
{% else %}
No wants yet
{% endif %}

Subjects

The deployment {{ "lets" if data.reads_instruments else "does not let" }} this plugin read an instrument's record.

{% block vendor_sections %}{% endblock %} {% endblock %}