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
1 changed files with 6 additions and 4 deletions

View File

@ -266,10 +266,12 @@
{{ entry.domainName|removeWww }}
</a>
</li>
<li>
<i class="material-icons grey-text">comment</i>
{{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations|length) }}
</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>