{% extends 'base/layout.html' %} {% load i18n %} {% block title %}{% trans "Bundles" %}{% endblock %} {% block content %}
{% trans "Deploy NSM schema, demo data, and metadata from JSON bundles. Apply NSM Schema first, then optional demo bundles." %}
{% if not custom_objects_plugin_loaded %}| {% trans "Bundle" %} | {% trans "Status" %} | {% trans "Contents" %} | {% trans "Actions" %} |
|---|---|---|---|
|
{{ bundle.title }}
{{ bundle.slug }}{{ bundle.description }}
{% endif %}
{% if bundle.missing_requires %}
{% blocktrans with reqs=bundle.missing_requires|join:", " %}Requires: {{ reqs }}{% endblocktrans %}
{% endif %}
|
{% if bundle.status == 'applied' %} {% trans "Applied" %} {% elif bundle.status == 'partial' %} {% trans "Partial" %} {% else %} {% trans "Missing" %} {% endif %} |
{% if bundle.type_count is not None %}
{% blocktrans count counter=bundle.type_count %}{{ counter }} type{% plural %}{{ counter }} types{% endblocktrans %}
{% if bundle.choice_set_count %}
{% blocktrans count counter=bundle.choice_set_count %}{{ counter }} choice set{% plural %}{{ counter }} choice sets{% endblocktrans %}
{% endif %}
{% if bundle.object_count %}
{% blocktrans count counter=bundle.object_count %}{{ counter }} seed object{% plural %}{{ counter }} seed objects{% endblocktrans %}
{% endif %}
{% if bundle.metadata_type_count or bundle.metadata_rulebook_count %}
{% if bundle.metadata_type_count %}{% blocktrans count counter=bundle.metadata_type_count %}{{ counter }} type metadata{% plural %}{{ counter }} type metadata blocks{% endblocktrans %}{% endif %}
{% if bundle.metadata_type_count and bundle.metadata_rulebook_count %} · {% endif %}
{% if bundle.metadata_rulebook_count %}{% blocktrans count counter=bundle.metadata_rulebook_count %}{{ counter }} rulebook metadata{% plural %}{{ counter }} rulebook metadata blocks{% endblocktrans %}{% endif %}
{% endif %}
{% else %}
—
{% endif %}
|
|
| {% trans "No bundles found." %} | |||