aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig
diff options
context:
space:
mode:
authorThomas Citharel <tcit@tcit.fr>2016-12-28 18:11:01 +0100
committerGitHub <noreply@github.com>2016-12-28 18:11:01 +0100
commit90f6ee4dbe761f97edf0bf87ffeb1f75acec6c25 (patch)
treef01741d64ae0177a31743a7f86b90baa1a7c8d3d /src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig
parent92ba3b5c0dcd8a0d03f592a28b0e26ebd7b045fa (diff)
parent6ed615ac742a8a4e410d0726e8cec7bd76660d03 (diff)
downloadwallabag-90f6ee4dbe761f97edf0bf87ffeb1f75acec6c25.tar.gz
wallabag-90f6ee4dbe761f97edf0bf87ffeb1f75acec6c25.tar.zst
wallabag-90f6ee4dbe761f97edf0bf87ffeb1f75acec6c25.zip
Merge pull request #2724 from Simounet/fix/reading-time
Fix entry reading time
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig
index 56442116..d278da1b 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig
@@ -1,8 +1,6 @@
1<div class="card-action"> 1<div class="card-action">
2 <span class="reading-time grey-text"> 2 <span class="reading-time grey-text">
3 <i class="material-icons" title="{{ 'entry.list.reading_time'|trans }}">timer</i> 3 {% include "@WallabagCore/themes/material/Entry/_reading_time.html.twig" with {'entry': entry} only %}
4 {{ entry.readingTime / app.user.config.readingSpeed|round }} min&nbsp;
5
6 <i class="material-icons hide-on-med-and-down" title="{{ 'entry.view.created_at'|trans }}">today</i> 4 <i class="material-icons hide-on-med-and-down" title="{{ 'entry.view.created_at'|trans }}">today</i>
7 <span class="hide-on-med-and-down">&nbsp;{{ entry.createdAt|date('Y-m-d') }}</span> 5 <span class="hide-on-med-and-down">&nbsp;{{ entry.createdAt|date('Y-m-d') }}</span>
8 </span> 6 </span>