From 038fccd244783884529ada34ae3b5ba555616025 Mon Sep 17 00:00:00 2001 From: Matt Burke Date: Sat, 3 Nov 2018 12:56:49 -0400 Subject: [PATCH] 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. --- .../Resources/views/themes/baggy/Entry/entry.html.twig | 3 --- .../Resources/views/themes/material/Entry/entry.html.twig | 4 ---- 2 files changed, 7 deletions(-) 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 }} -- 2.41.0