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=2e8fe65c64bc6be83f30cf7498e9fde5eeb3b325;hpb=77255d668828d7ae4cceb186b5215a0d4ddd69f6;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 2e8fe65c..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 %} @@ -14,23 +17,23 @@ - {% if not app.debug %} - + {% 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 }}