{% if include.library.content.exists() %} {%include section-header.html header='Library Content' %} {% for content in Library.content %} {% if content.contentType = 'text/cql' %} CQL Content
{{content.data.decode('base64')}}
{% elsif content.contentType = 'application/elm+xml' %} ELM XML Content
{{iif(content.data.exists(), 'Encoded data', '') + ' ' + iif(content.url.exists(), 'url: ' + content.url, '')}}
{% elsif content.contentType = 'application/elm+json' %} ELM JSON Content
{{iif(content.data.exists(), 'Encoded data', '') + ' ' + iif(content.url.exists(), 'url: ' + content.url, '')}}
{% else %} {{content.contentType + 'Content'}}
{{iif(content.data.exists(), 'Encoded data', '') + ' ' + iif(content.url.exists(), 'url: ' + content.url, '')}}
{% endif %} {% endfor %} {% endif %}