X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fcommon%2FEntry%2Fshare.html.twig;h=804adb36283a643c799c6cb9b9106f6dd6990856;hb=e4cf672ccf61689ba28c2e89fc55f83167800b18;hp=b82b3d3d86c7f75e64fcd264210ca29173c3a81a;hpb=2ff9991a1dfac0d3463662b96f529aac70c66f76;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..804adb36 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 @@ -27,11 +27,25 @@ width: 600px; } + + + + {% 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.domainName|removeWww }}
+
{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage')})|raw }}
{{ entry.content | raw }}