Show number of annotations instead of nbAnnotations placeholder

When there was more than one annotation, a placeholder was displayed in both themes, instead of actual number.
This commit is contained in:
Krzysztof Szafranek
2016-10-09 04:59:04 +02:00
parent 32d103f702
commit 90c766b96b
11 changed files with 10 additions and 11 deletions

View File

@ -54,7 +54,6 @@
{% endif %}
</i>
{% set nbAnnotations = entry.annotations | length %}
<span class="tool link"><i class="material-icons link">comment</i> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span>
<aside class="tags">
<div class="card-entry-tags">