X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentry.html.twig;h=0c7cbaa6e4183a46d2d08e7876a503d5215490c4;hb=f4f7994c40ca57c7e6f8ca0a3d298c50c4e5f813;hp=b1aabf9b3658b126532ac2e734457675cd343516;hpb=645c0d5bce85be0dfcb7b58c31ce96a47ceb99e3;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 b1aabf9b..0c7cbaa6 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,17 +1,17 @@
{% 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') }}
+ {{ 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 %}
@@ -54,21 +70,34 @@
{% endif %}
- {% set nbAnnotations = entry.annotations | length %}
comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }}
+
+ {% if entry.originUrl is not empty %}
+
launch
+
+ {{ entry.originUrl|striptags|removeSchemeAndWww|truncate(32) }}
+
+ {% endif %}
+