X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=2e9673d51f6dcb36420ddd8a7adb5bd704c6c519;hb=af54b2c9594394046a4596f89071fd9d30800f24;hp=a3a9baa2c087c6b66fc2073b5f4ea3f2faeeacc2;hpb=56349e470ab9e4fd5f4fd4754f4a6c9989701795;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 a3a9baa2..2e9673d5 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,68 @@ {% 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 %} + -
+ + + {% if entry.previewPicture is not null %}
{{ entry.title|raw }}
{% endif %} @@ -45,67 +74,17 @@ {{ entry.content | raw }} - - {% endblock %}