X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=8ca194f6429f71f2361619dfc2a47f23669c28ea;hb=3d9950792c0aef20643ce1c5f81670e1f7194af9;hp=c23d0e272540577c07360dcf12ec67a2e9aae8b8;hpb=30d81a47c689e1d7d963fcd3fd42af9958805e31;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 c23d0e27..8ca194f6 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 @@ -1,105 +1,89 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{{ entry.title|raw }} ({{ entry.domainName|removeWww }}){% endblock %} +{% block title %}{{ entry.title|e|raw }} ({{ entry.domainName|removeWww }}){% endblock %} {% block content %} -
- -
-

{{ entry.title|raw }} ✎

+

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