aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2016-11-06 21:41:32 +0100
committerJeremy Benoist <jeremy.benoist@gmail.com>2016-11-06 21:41:32 +0100
commitd61b24e4590bd83a8f8c1e83b95f6e978c9b7e24 (patch)
treedde4fc2030188dfc34fed6faa22c77df0a649cd8 /src/Wallabag
parent24692715de6be93d3d01606624003cef4d170133 (diff)
downloadwallabag-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.twig2
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">