]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Display a bigger image in case of image content 2562/head
authorJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 8 Nov 2016 21:17:46 +0000 (22:17 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 8 Nov 2016 21:17:46 +0000 (22:17 +0100)
commit8d7b4f0eff9d07f8d6d354e09fd926abf26aa4ce
treef8a932f9e991ae49578bff9c70b27fffd78a929c
parente9490a344376036978956aedeb213066fdbf49e4
Display a bigger image in case of image content

If the content is only an image, we can display a bigger preview image because we won’t have text to display.

Also, split different card view to avoid too much complexity in the entries.html.twig
app/Resources/static/themes/material/css/main.css
src/Wallabag/CoreBundle/Helper/ContentProxy.php
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_actions.html.twig [new file with mode: 0644]
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_full_image.html.twig [new file with mode: 0644]
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_no_preview.html.twig [new file with mode: 0644]
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_preview.html.twig [new file with mode: 0644]
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
web/bundles/wallabagcore/themes/baggy/js/baggy.min.js
web/bundles/wallabagcore/themes/material/css/style.min.css
web/bundles/wallabagcore/themes/material/js/material.min.js