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=a67807f982d684f3c768a7c3a06bfd5ab4d5f489;hpb=29714661b1df78871ceaf0e079f11041a8641d4b;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 a67807f9..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,10 +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 %} @@ -15,23 +18,22 @@ {% if app.debug %} - + {% else %} - + {% endif %} -
+

{{ entry.title|e|raw }}

-
{{ entry.domainName|removeWww }}
-
{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|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') }}
+ {{ entry.title|striptags|e('html_attr') }} {% endif %}
-
+
{{ entry.content | raw }}