diff options
author | Krzysztof Szafranek <ebraun@o2.pl> | 2016-10-09 04:59:04 +0200 |
---|---|---|
committer | Krzysztof Szafranek <ebraun@o2.pl> | 2016-10-09 04:59:04 +0200 |
commit | 90c766b96b280b092d57fd35d7b9b89853a4e2a0 (patch) | |
tree | c22504380df5d3046fc01ef98a6ebc6cfc937632 /src/Wallabag/CoreBundle/Resources/views/themes | |
parent | 32d103f702968b494309adcba77bc6226043c6ce (diff) | |
download | wallabag-90c766b96b280b092d57fd35d7b9b89853a4e2a0.tar.gz wallabag-90c766b96b280b092d57fd35d7b9b89853a4e2a0.tar.zst wallabag-90c766b96b280b092d57fd35d7b9b89853a4e2a0.zip |
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.
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig index b1aabf9b..3689159b 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig | |||
@@ -54,7 +54,6 @@ | |||
54 | {% endif %} | 54 | {% endif %} |
55 | </i> | 55 | </i> |
56 | 56 | ||
57 | {% set nbAnnotations = entry.annotations | length %} | ||
58 | <span class="tool link"><i class="material-icons link">comment</i> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span> | 57 | <span class="tool link"><i class="material-icons link">comment</i> {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}</span> |
59 | <aside class="tags"> | 58 | <aside class="tags"> |
60 | <div class="card-entry-tags"> | 59 | <div class="card-entry-tags"> |