X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fcommon%2FEntry%2Fshare.html.twig;h=955420ba41c8de4034f1318d9267479efd1acdae;hb=9ff628ca5612f378ddcf5faead065ed3415a6fac;hp=f77264c672691df3c1b73f4254615e84e26eccb6;hpb=64a8781e453c40ff144d03405abe2dc1ccfacbe0;p=github%2Fwallabag%2Fwallabag.git
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig
index f77264c6..955420ba 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig
@@ -1,36 +1,10 @@
- {{ entry.title | raw }}
-
-
+ {{ entry.title|e|raw }}
+
- {% set picturePath = app.request.schemeAndHttpHost ~ asset('bundles/wallabagcore/themes/_global/img/logo-other_themes.png') %}
+ {% set picturePath = app.request.schemeAndHttpHost ~ asset('wallassets/themes/_global/img/logo-other_themes.png') %}
{% if entry.previewPicture is not null %}
{% set picturePath = entry.previewPicture %}
{% endif %}
@@ -38,14 +12,24 @@
-
+
+ {% if app.debug %}
+
+ {% else %}
+
+ {% endif %}
+
- {{ entry.title | raw }}
-
- {{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage')})|raw }}
+ {{ entry.title|e|raw }}
+
+ {{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.
+
+ {% if entry.previewPicture is not null %}
+
+ {% endif %}
{{ entry.content | raw }}