X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=9a5c8fe027a8ce210b0306b734c5025026c23d43;hb=c36f5adce2dcf30affe972fe8752e98aeb8d57a1;hp=bec4b70fb318e3b3f5cffcea432aa57e9d7089c2;hpb=0ed8ce55b5caf2c88e8330afa83abef6c4aac9a4;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 bec4b70f..9a5c8fe0 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
@@ -21,12 +21,15 @@
-
- {{ 'entry.view.created_at'|trans }}: {{ entry.createdAt|date('Y-m-d') }}
-
+
+ {{ entry.createdAt|date('Y-m-d') }}
+
-
+
{% set readingTime = entry.readingTime / app.user.config.readingSpeed %}
{% if readingTime > 0 %}
- {{ 'entry.list.reading_time_minutes'|trans({'%readingTime%': readingTime|round})|capitalize }}
+ {{ 'entry.list.reading_time_minutes_short'|trans({'%readingTime%': readingTime|round}) }}
{% else %}
- {{ 'entry.list.reading_time_less_one_minute'|trans|raw }}
+ {{ 'entry.list.reading_time_less_one_minute_short'|trans|raw }}
{% endif %}
-
+
{% set nbAnnotations = entry.annotations | length %}
comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}
@@ -82,22 +85,4 @@
"entryId": "{{ entry.id }}"
}
-
-
{% endblock %}