Remove annotation text on entry without any

This commit is contained in:
Simounet 2023-06-14 22:26:56 +02:00
parent 7a9e328ce9
commit 78f66c72fc
No known key found for this signature in database
GPG key ID: 77D3B7DC794EB770

View file

@ -266,10 +266,12 @@
{{ entry.domainName|removeWww }}
</a>
</li>
{% if entry.annotations|length %}
<li>
<i class="material-icons grey-text">comment</i>
{{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations|length) }}
</li>
{% endif %}
{% if entry.originUrl is not empty %}
<li>
<i class="material-icons grey-text" title="{{ 'entry.view.provided_by'|trans }}">launch</i>