X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=bead6809e950533d0a13d42d861dc5d300c1c579;hb=a494c33ef7e574e68ab5bb83d0bdbd67348af0ef;hp=94f4ba7d3145031171813894ce7e1d8f16bda680;hpb=f6249b67f66371b70a9c5a076ed03e5653c1330e;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 94f4ba7d..bead6809 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,39 +5,65 @@ {% block content %}
-

{{ entry.title|raw }} ✎

+

{{ entry.title|raw }} ✎

- -
+ +
+ +
+ {{ 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 %} + comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }} + +
{% if entry.previewPicture is not null %}
{{ entry.title|raw }}
{% endif %} @@ -45,67 +71,17 @@ {{ entry.content | raw }} - - {% endblock %}