X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fcommon%2FEntry%2Fshare.html.twig;h=e1c7aad96ff1021ca2fd7fc7f8c6d77a3b89f9c8;hb=a22b8043b45b0a5c2859afff90d968300b437c93;hp=b50226ef16e5166d536fcfe49d60cf8a14707ff3;hpb=0ff674a9521ee3c659f727ca98a48bd200652f95;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 b50226ef..e1c7aad9 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,13 @@ + - {{ 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-wallabag.svg') %} {% if entry.previewPicture is not null %} {% set picturePath = entry.previewPicture %} {% endif %} @@ -38,15 +15,25 @@ - + + + {% 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 }}