X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fcommon%2FEntry%2Fshare.html.twig;h=308fda2e87f5ba7a55c51f77630562c005ab6c7c;hb=6b1b148d655eec4411e13a90a0bd050b923e3ef9;hp=b82b3d3d86c7f75e64fcd264210ca29173c3a81a;hpb=77557d289bafc088baf806e4744f110dfd959300;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 b82b3d3d..308fda2e 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,37 +1,29 @@ - {{ entry.title | raw }} - + {{ entry.title|e|raw }} + + + + {% set picturePath = app.request.schemeAndHttpHost ~ asset('bundles/wallabagcore/themes/_global/img/logo-other_themes.png') %} + {% if entry.previewPicture is not null %} + {% set picturePath = entry.previewPicture %} + {% endif %} + + + + + +
-

{{ entry.title | raw }}

- {{ entry.domainName|removeWww }} +

{{ entry.title|e|raw }}

+
{{ entry.domainName|removeWww }}
+
{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.
+ + {% if entry.previewPicture is not null %} +
{{ entry.title|striptags|e('html_attr') }}
+ {% endif %}
{{ entry.content | raw }}