From 093b8954cf70d141679c8865d4340d1d33eb73ba Mon Sep 17 00:00:00 2001
From: Oliver Roick {{ key }} {{ asset.title }} {{ asset.type }}
+ {{ key }}
+ {% if asset.title and not key == asset.title %} • {{ asset.title }}{% endif %}
+ {{ asset.type }} {{ asset.description }} {{ key }}
Item Assets
{% for key, asset in response.item_assets.items() %}
-
@@ -77,7 +102,7 @@
+
+ {% if asset.roles and asset.roles|length > 0 %}
{% for role in asset.roles %}
{% endif %}
+
+ Asset Properties
+ {% for asset_key, asset_opt in asset | dictsort if asset_key not in ["title", "type", "description", "href", "roles", "alternate"] %}
+ {{ asset_opt | tojson(2) | trim('"') }}
+ Item Assets
{% if response.renders and response.renders.items()|length > 0 %}
Render Options
-
+
{% for key, option in response.renders.items() %}
Render Options
{% for asset in option.assets %}{{ asset }}{% if not loop.last %}, {% endif%}{% endfor %}
+ {{ render_opt | tojson(2) | trim('"') }}
+ Links
Item Assets
{{ asset.type }}
{% endif %} {% if asset.description %}{{ asset.description }}
{% endif %} + {% if asset.href or asset.alternate %}{{ asset_opt | tojson(2) | trim('"') }}
+ {{ asset_opt | tojson(2) }}
{{ key }}
{% if option.title %}{{ option.title }}
{% endif %} -{% for asset in option.assets %}{{ asset }}{% if not loop.last %}, {% endif%}{% endfor %}
- {{ render_opt | tojson(2) | trim('"') }}
+ {{ render_opt | tojson(2) }}