2021-01-16 13:37:18 +01:00
|
|
|
{% if loaded %}
|
|
|
|
<div>
|
|
|
|
{% if (config.showSourceTitle and sourceTitle) or config.showPublishDate %}
|
|
|
|
<div class="newsfeed-source light small dimmed">
|
|
|
|
{% if sourceTitle and config.showSourceTitle %}
|
|
|
|
{{ sourceTitle }}{% if config.showPublishDate %}, {% else %}: {% endif %}
|
|
|
|
{% endif %}
|
|
|
|
{% if config.showPublishDate %}
|
2021-03-16 13:47:48 +01:00
|
|
|
{{ publishDate }}:
|
2021-01-16 13:37:18 +01:00
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
{% endif %}
|
|
|
|
<div class="newsfeed-title bright medium light{{ ' no-wrap' if config.wrapTitle }}">
|
|
|
|
{{ title }}
|
|
|
|
</div>
|
|
|
|
<div class="newsfeed-desc small light{{ ' no-wrap' if config.wrapDescription }}">
|
|
|
|
{% if config.truncDescription %}
|
|
|
|
{{ description | truncate(config.lengthDescription) }}
|
|
|
|
{% else %}
|
|
|
|
{{ description }}
|
|
|
|
{% endif %}
|
|
|
|
</div>
|
|
|
|
</div>
|
2021-03-16 13:47:48 +01:00
|
|
|
{% elseif error %}
|
|
|
|
<div class="small dimmed">
|
|
|
|
{{ error }}
|
|
|
|
</div>
|
2021-01-16 13:37:18 +01:00
|
|
|
{% else %}
|
|
|
|
<div class="small dimmed">
|
|
|
|
{{ "LOADING" | translate | safe }}
|
|
|
|
</div>
|
2021-03-16 13:47:48 +01:00
|
|
|
{% endif %}
|