Make supported events orange (#1879)

This commit is contained in:
Freddy Boulton 2022-07-26 11:35:08 -04:00 committed by GitHub
parent 17bd3c10b5
commit ef15a92ffa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -50,14 +50,15 @@
</div>
{% endif %}
<p class="mt-8 mb-2 text-lg">{{ obj["description"] }}</p>
<br>
{% if is_component %}
<p class="mb-2 text-lg text-gray-500">As input, {{ obj["tags"]["preprocessing"] }}</p>
<p class="mb-2 text-lg text-gray-500">As output, {{ obj["tags"]["postprocessing"] }}</p>
<p class="mb-2 text-lg text-gray-500"> <span class="text-orange-500">As input: </span> {{ obj["tags"]["preprocessing"] }}</p>
<p class="mb-2 text-lg text-gray-500"> <span class="text-orange-500">As output:</span> {{ obj["tags"]["postprocessing"] }}</p>
{% if "examples-format" in obj["tags"] %}
<p class="text-lg text-gray-500">Format expected for examples: {{ obj["tags"]["examples-format"] }}</p>
<p class="text-lg text-gray-500"> <span class="text-orange-500">Format expected for examples:</span> {{ obj["tags"]["examples-format"] }}</p>
{% endif %}
{% if obj["events"]|length > 0 %}
<p class="text-lg text-gray-500">Supported events: <em>{{ obj["events"] }}</em></p>
<p class="text-lg text-gray-500"><span class="text-orange-500">Supported events:</span> <em>{{ obj["events"] }}</em></p>
{% endif %}
{% endif %}