2020-01-25 15:56:24 +00:00
|
|
|
{% load helpers %}
|
2024-05-09 05:06:53 -07:00
|
|
|
{% load i18n %}
|
2020-01-25 15:56:24 +00:00
|
|
|
|
2024-05-09 05:06:53 -07:00
|
|
|
{% if title %}
|
|
|
|
<h5 class="card-header d-flex justify-content-between">
|
|
|
|
{% trans title %}
|
|
|
|
<div>
|
|
|
|
{% if copyid %}{% copy_content copyid %}{% endif %}
|
|
|
|
{% include 'extras/inc/format_toggle.html' %}
|
|
|
|
</div>
|
|
|
|
</h5>
|
|
|
|
{% endif %}
|
|
|
|
<div class="card-body">
|
|
|
|
<div class="rendered-context-data mt-1">
|
|
|
|
<pre class="block" {% if copyid %}id="{{ copyid }}{% endif %}">{% if format == 'json' %}{{ data|json }}{% elif format == 'yaml' %}{{ data|yaml }}{% else %}{{ data }}{% endif %}</pre>
|
|
|
|
</div>
|
2020-01-31 11:11:42 +00:00
|
|
|
</div>
|