]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Merge pull request #3922 from burkemw3/patch-5
authorJérémy Benoist <j0k3r@users.noreply.github.com>
Mon, 13 May 2019 04:40:16 +0000 (06:40 +0200)
committerGitHub <noreply@github.com>
Mon, 13 May 2019 04:40:16 +0000 (06:40 +0200)
Remove preview picture from share view page for #1875

src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig

index e1c7aad96ff1021ca2fd7fc7f8c6d77a3b89f9c8..4294a60d9f22d245e4de794361eb6e669e7a13de 100644 (file)
@@ -29,9 +29,6 @@
             <h1>{{ entry.title|e|raw }}</h1>
             <a href="{{ entry.url|e }}" target="_blank" rel="noopener" title="{{ 'entry.view.original_article'|trans }} : {{ entry.title|e|raw }}" class="tool">{{ entry.domainName|removeWww }}</a>
             <p class="shared-by">{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.</p>
-            {% if entry.previewPicture is not null %}
-                <img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|striptags|e('html_attr') }}" />
-            {% endif %}
         </header>
         <article class="block">
             {{ entry.content | raw }}