diff options
author | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-11-06 21:41:32 +0100 |
---|---|---|
committer | Jeremy Benoist <jeremy.benoist@gmail.com> | 2016-11-06 21:41:32 +0100 |
commit | d61b24e4590bd83a8f8c1e83b95f6e978c9b7e24 (patch) | |
tree | dde4fc2030188dfc34fed6faa22c77df0a649cd8 /src/Wallabag | |
parent | 24692715de6be93d3d01606624003cef4d170133 (diff) | |
download | wallabag-d61b24e4590bd83a8f8c1e83b95f6e978c9b7e24.tar.gz wallabag-d61b24e4590bd83a8f8c1e83b95f6e978c9b7e24.tar.zst wallabag-d61b24e4590bd83a8f8c1e83b95f6e978c9b7e24.zip |
Round readingtime to avoid crazy number
Like `8.666666666667 min`
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index 6347afac..498234b9 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig | |||
@@ -78,7 +78,7 @@ | |||
78 | <div class="card-action"> | 78 | <div class="card-action"> |
79 | <span class="reading-time grey-text"> | 79 | <span class="reading-time grey-text"> |
80 | <i class="material-icons" title="{{ 'entry.list.reading_time'|trans }}">timer</i> | 80 | <i class="material-icons" title="{{ 'entry.list.reading_time'|trans }}">timer</i> |
81 | {{ entry.readingTime / app.user.config.readingSpeed }} min | 81 | {{ entry.readingTime / app.user.config.readingSpeed|round }} min |
82 | </span> | 82 | </span> |
83 | 83 | ||
84 | <ul class="tools right"> | 84 | <ul class="tools right"> |