diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2019-05-13 06:40:16 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-05-13 06:40:16 +0200 |
commit | a73cb8a689431a035d1ffca10d9654e84de5b58c (patch) | |
tree | 1816d9d1026c5c002d3ceeb10265e5ba9f5b33fe /src/Wallabag | |
parent | 295b71442692744c4d2b56b70fbbb8f32613b150 (diff) | |
parent | 19822ecb31a6ca6224abbaf1c23b2a30b5b4496c (diff) | |
download | wallabag-a73cb8a689431a035d1ffca10d9654e84de5b58c.tar.gz wallabag-a73cb8a689431a035d1ffca10d9654e84de5b58c.tar.zst wallabag-a73cb8a689431a035d1ffca10d9654e84de5b58c.zip |
Merge pull request #3922 from burkemw3/patch-5
Remove preview picture from share view page for #1875
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/common/Entry/share.html.twig | 3 |
1 files changed, 0 insertions, 3 deletions
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 e1c7aad9..4294a60d 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 | |||
@@ -29,9 +29,6 @@ | |||
29 | <h1>{{ entry.title|e|raw }}</h1> | 29 | <h1>{{ entry.title|e|raw }}</h1> |
30 | <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> | 30 | <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> |
31 | <p class="shared-by">{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.</p> | 31 | <p class="shared-by">{{ "entry.public.shared_by_wallabag"|trans({'%wallabag_instance%': url('homepage'), '%username%': entry.user.username})|raw }}.</p> |
32 | {% if entry.previewPicture is not null %} | ||
33 | <img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|striptags|e('html_attr') }}" /> | ||
34 | {% endif %} | ||
35 | </header> | 32 | </header> |
36 | <article class="block"> | 33 | <article class="block"> |
37 | {{ entry.content | raw }} | 34 | {{ entry.content | raw }} |