X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=f8723189b725592fd6a9721e363dc7fbaab7d125;hb=2490f61dca635026a3eb9b5e9b6978b1981b1172;hp=87b4424c239856f1170c57183a8c50e739b10a88;hpb=e7732deb1f7614523905634e23a8717f9ca526bf;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 87b4424c..f8723189 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,141 +1,111 @@
{% 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 }}
+
+
+
+
+
+ {{ entry.createdAt|date('Y-m-d H:i') }}
+
+
+ {% if entry.publishedAt is not null %}
+
+ {{ entry.publishedAt|date('Y-m-d H:i') }}
+
+ {% endif %}
+
+ {% if entry.publishedBy is not empty %}
+
+ {% for author in entry.publishedBy %}
+ {{ author }}{% if not loop.last %}, {% endif %}
+ {% endfor %}
+
{% endif %}
+
+
+ {% 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) }}
+
- {% set nbAnnotations = entry.annotations | length %}
-
-
{% if entry.previewPicture is not null %}
-
+
{% endif %}
{{ entry.content | raw }}
-
-
-
{% endblock %}