From: Matt Burke Date: Sat, 3 Nov 2018 16:56:49 +0000 (-0400) Subject: Remove preview picture from single entry view page for #1875 X-Git-Tag: 2.3.5~7^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=038fccd244783884529ada34ae3b5ba555616025;p=github%2Fwallabag%2Fwallabag.git Remove preview picture from single entry view page for #1875 Showing the preview picture usually leads to showing a duplicate image, and frequently leads to showing duplicate images directly adjacent to each other. --- diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig index d42739ac..32d95a31 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig @@ -96,9 +96,6 @@ - {% if entry.previewPicture is not null %} -
{{ entry.title|e|raw }}
- {% endif %}
{{ entry.content | raw }}
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index 7484d53b..b7b62f6c 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig @@ -275,10 +275,6 @@ {{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }} - {% if entry.previewPicture is not null %} -
{{ entry.title|striptags|default('entry.default_title'|trans)|raw }}
- {% endif %} -
{{ entry.content | raw }}