{#- A reporting plugin's Datasets (spec/plugin-pages-follow-their-role): each dataset it reads, whether it is entitled to it and to which fields, and its misses, then the vendor's sections. `data` is a meridian.roles.reporting.DatasetsRead. -#} {% extends "meridian/base.html" %} {% import "meridian/roles/_rows.html" as om %} {% block content %} {% if not data.datasets|selectattr("entitled")|list %} {% if caller.deployment_admin %} {{ om.next_step("Not entitled yet", "A deployment admin entitles this plugin on", "data-sources", "Data sources") }} {% else %} {{ om.next_step("Not entitled yet", "A deployment admin entitles this plugin on Data sources. Ask a deployment admin to entitle it.") }} {% endif %} {% endif %} {% block vendor_notices %}{% endblock %}

Datasets

{% for row in [none] + data.datasets %} {% if row is none %} {%- else %} {%- endif %} {% block vendor_columns scoped %}{% endblock %} {% if row is none %}{% else %}{% endif %} {% endfor %}
DatasetEntitledFieldsMisses
{{ row.dataset }}{{ "Entitled" if row.entitled else "Not entitled yet" }}{{ row.fields|join(", ") or "Every field" }}{{ row.misses }}
{% block vendor_sections %}{% endblock %} {% endblock %}