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=57386125abc5c50c1438cf7e78d01f06021adc0a;hp=7b7135e9a734a76e67b7d0e49e59932be2393e63;hpb=831b02aaf2709d632453a03ab8eb2663fb947497;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 7b7135e9..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 @@ -3,35 +3,68 @@ {% block title %}{{ entry.title|raw }} ({{ entry.domainName|removeWww }}){% endblock %} {% 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 %} @@ -39,67 +72,17 @@ {{ entry.content | raw }}
- - {% endblock %}