X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=3689159bca64e81d70f08bebd03d6617a2641e74;hb=90c766b96b280b092d57fd35d7b9b89853a4e2a0;hp=12b0bc535e2112e2ef1f19a176053781f02d2ff4;hpb=4e1be104ab59201e3d482e4fd31b69b76697fb9e;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 12b0bc53..3689159b 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 @@ -5,45 +5,67 @@ {% block content %}
-

{{ entry.title|raw }} ✎

+

{{ entry.title|raw }} ✎

- -
- - {% set readingTime = entry.readingTime / app.user.config.readingSpeed %} - - {% set nbAnnotations = entry.annotations | length %} - {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }} - + +
+ +
+ + {{ 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 %} + + + comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }} + +
{% if entry.previewPicture is not null %}
{{ entry.title|raw }}
{% endif %} @@ -51,87 +73,17 @@ {{ entry.content | raw }} - - - {% endblock %}