X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fcommon%2FEntry%2Fshare.html.twig;h=9b0503d65b0720c1a7ab85fd74b0c03f9c94df61;hb=2fdd512488fb8987d34af0be71714faacc832048;hp=36c49e0422d0a4866036ea5a974e909427aa8db6;hpb=c8d2dcdafe95c7986bb9fdaa7998417a014bf6fa;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 36c49e04..9b0503d6 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,46 +1,39 @@ + - {{ entry.title | raw }} - - + + {{ entry.title|e|raw }} + + + {% 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 %} + + + + + + + {% if app.debug %} + + {% else %} + + {% endif %} + -
-

{{ entry.title | raw }}

-
{{ entry.domainName|removeWww }}
-
{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage')})|raw }}
+
+

{{ 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 }}