X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=87b4424c239856f1170c57183a8c50e739b10a88;hb=e7732deb1f7614523905634e23a8717f9ca526bf;hp=3cda3949eaecd356c575f365762b1c1d06c377e0;hpb=77b9db87b84e20a6042444e3b18665bc66d4f1f2;p=github%2Fwallabag%2Fwallabag.git
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 3cda3949..87b4424c 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
@@ -22,13 +22,22 @@
{% if craue_setting('share_shaarli') %}
shaarli{% endif %}
{% if craue_setting('share_diaspora') %}diaspora{% endif %}
{% if craue_setting('carrot') %}Carrot{% endif %}
- {% if craue_setting('show_printlink') %}{{ 'entry.view.left_menu.re_fetch_content'|trans }}{% endif %}
+ {% if craue_setting('show_printlink') %}{{ 'entry.view.left_menu.print'|trans }}{% endif %}
{% if craue_setting('export_epub') %}EPUB{% endif %}
{% if craue_setting('export_mobi') %}MOBI{% endif %}
{% if craue_setting('export_pdf') %}PDF{% endif %}
{{ 'entry.view.left_menu.problem.label'|trans }}
+ {{ entry.createdAt|date('Y-m-d') }}
+ {% set readingTime = entry.readingTime / app.user.config.readingSpeed %}
+
+ {% if readingTime > 0 %}
+ {{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }}
+ {% else %}
+ {{ 'entry.list.reading_time_less_one_minute_short'|trans|raw }}
+ {% endif %}
+
{% set nbAnnotations = entry.annotations | length %}