{% extends "mini_buildd/includes/api/base.html" %}
{% block results %}
	{% for cls, instances in view.mbd_call.result.items %}
		<h3>{{ cls }}</h3>
		{% for pk, info in instances.items %}
			<details>
				<summary>{{ info.desc }}: <strong class="{{ info.diff|yesno:'mbd-warning,mbd-success' }}">{{ info.diff|yesno:'Changes,No changes' }}</strong> versus setup defaults <strong class="mbd-notice">{{ info.updated|yesno:'*UPDATED*,' }}</strong> <strong class="mbd-notice">{{ info.created|yesno:'*CREATED*,' }}</strong></summary>
				<pre>{{ info.diff|mbd_jsonpp }}</pre>
			</details>
		{% endfor %}
	{% endfor %}
{% endblock %}
