mirror of
https://github.com/wallabag/wallabag.git
synced 2025-02-17 03:05:19 +00:00
Merge pull request #1898 from wallabag/v2-fix-readingtime-display-material
Fix estimated reading time in material view
This commit is contained in:
commit
54ecbb41d6
1 changed files with 1 additions and 2 deletions
|
@ -74,8 +74,7 @@
|
|||
|
||||
<div class="estimatedTime grey-text">
|
||||
<span class="tool reading-time">
|
||||
{{ 'entry.list.reading_time'|trans }}
|
||||
{% if entry.readingTime > 0 %}{{ entry.readingTime }}{% else %}<small class="inferieur"><</small> 1{% endif %} min
|
||||
{% if readingTime > 0 %}{{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': readingTime|round}) }}{% else %}{{ 'entry.list.reading_time_less_one_minute'|trans|raw }}{% endif %}
|
||||
</span>
|
||||
</div>
|
||||
|
||||
|
|
Loading…
Reference in a new issue