X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fcommon%2FEntry%2Fshare.html.twig;h=4294a60d9f22d245e4de794361eb6e669e7a13de;hb=19822ecb31a6ca6224abbaf1c23b2a30b5b4496c;hp=623cf1c4d4577cdd4e56e458ed2a92843040a98a;hpb=78295b99dd1721c613f1ce52e2debbe6f6db7753;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 623cf1c4..4294a60d 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|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 %} @@ -40,14 +17,20 @@ + {% if app.debug %} + + {% else %} + + {% endif %} + -
+

{{ entry.title|e|raw }}

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

{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.

-
+
{{ entry.content | raw }}