diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2018-11-26 13:51:00 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-26 13:51:00 +0100 |
commit | 8896f0f988350620132ee8d4267bb66f7fba4663 (patch) | |
tree | 13861f01f4b1b1bfd5f105ca9f048dd5b15df789 /src/Wallabag | |
parent | bf483b628e1c5aacb170d5e2e9491ab505494b77 (diff) | |
parent | 038fccd244783884529ada34ae3b5ba555616025 (diff) | |
download | wallabag-8896f0f988350620132ee8d4267bb66f7fba4663.tar.gz wallabag-8896f0f988350620132ee8d4267bb66f7fba4663.tar.zst wallabag-8896f0f988350620132ee8d4267bb66f7fba4663.zip |
Merge pull request #3765 from burkemw3/patch-2
Remove preview picture from single entry view page for #1875
Diffstat (limited to 'src/Wallabag')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig | 3 | ||||
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig | 4 |
2 files changed, 0 insertions, 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 48866f6e..e7d42b3d 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 @@ | |||
96 | </div> | 96 | </div> |
97 | </aside> | 97 | </aside> |
98 | </div> | 98 | </div> |
99 | {% if entry.previewPicture is not null %} | ||
100 | <div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|e|raw }}" /></div> | ||
101 | {% endif %} | ||
102 | <article> | 99 | <article> |
103 | {{ entry.content | raw }} | 100 | {{ entry.content | raw }} |
104 | </article> | 101 | </article> |
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 9ae6e73e..c6c19de6 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 @@ | |||
275 | {{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }} | 275 | {{ render(controller( "WallabagCoreBundle:Tag:addTagForm", { 'id': entry.id } )) }} |
276 | </div> | 276 | </div> |
277 | 277 | ||
278 | {% if entry.previewPicture is not null %} | ||
279 | <div><img class="preview" src="{{ entry.previewPicture }}" alt="{{ entry.title|striptags|default('entry.default_title'|trans)|raw }}" /></div> | ||
280 | {% endif %} | ||
281 | |||
282 | </aside> | 278 | </aside> |
283 | <article> | 279 | <article> |
284 | {{ entry.content | raw }} | 280 | {{ entry.content | raw }} |