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=426ce91c3b31023abe8900ad5ad32b72315a6de7;hb=7b0b3622ab2dd909028481b294c91f88a5682671;hp=8ac2bc0bfb3be1e39241170a921056c23c1acde3;hpb=a4180d0b8ef7af16e0b1a63cb45a8eeaa8b0dc52;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 8ac2bc0b..426ce91c 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,11 +1,11 @@
{% 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 }} â
@@ -30,6 +30,7 @@
{% if craue_setting('share_twitter') %}
{% endif %}
{% if craue_setting('share_mail') %}
Email{% endif %}
{% if craue_setting('share_shaarli') %}
shaarli{% endif %}
+ {% if craue_setting('share_scuttle') %}
scuttle{% endif %}
{% if craue_setting('share_diaspora') %}
diaspora{% endif %}
{% if craue_setting('share_unmark') %}
unmark.it{% endif %}
{% if craue_setting('carrot') %}
Carrot{% endif %}
@@ -43,9 +44,23 @@
- {{ 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 %}
@@ -68,7 +83,7 @@
{% if entry.previewPicture is not null %}
-
+
{% endif %}
{{ entry.content | raw }}