]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #3765 from burkemw3/patch-2
authorJérémy Benoist <j0k3r@users.noreply.github.com>
Mon, 26 Nov 2018 12:51:00 +0000 (13:51 +0100)
committerGitHub <noreply@github.com>
Mon, 26 Nov 2018 12:51:00 +0000 (13:51 +0100)
Remove preview picture from single entry view page for #1875

src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig

index 48866f6e259c9d5c40df7e03f6b287f7cdf760f6..e7d42b3dc58e53913ab04fdae7fdbe2731616d67 100644 (file)
@@ -96,9 +96,6 @@
                 </div>
             </aside>
         </div>
-        {% if entry.previewPicture is not null %}
-            <div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|e|raw }}" /></div>
-        {% endif %}
         <article>
             {{ entry.content | raw }}
         </article>
index 9ae6e73e98b5fc2d9af39cba062320250c523702..c6c19de6b493705cecf0ffce77694e46c9348cc8 100644 (file)
                 {{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }}
             </div>
 
-            {% if entry.previewPicture is not null %}
-                <div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|striptags|default('entry.default_title'|trans)|raw }}" /></div>
-            {% endif %}
-
         </aside>
         <article>
             {{ entry.content | raw }}