X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=742dd330b4591e50b7da4c54858171de285f22d7;hb=d4466a37fed43801184714f6a75344128e4a9f4c;hp=e883503e67e7fa90e6a69a93e14e4600d19c42e8;hpb=f836b98fa644601697c107738726dcf8a92dfecd;p=github%2Fwallabag%2Fwallabag.git
diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
index e883503e..742dd330 100644
--- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
+++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig
@@ -39,11 +39,9 @@
{% if listMode == 1 %}
{% include "@WallabagCore/themes/material/Entry/_card_list.html.twig" with {'entry': entry} only %}
- {% elseif entry.previewPicture is null %}
- {% include "@WallabagCore/themes/material/Entry/_card_no_preview.html.twig" with {'entry': entry} only %}
{% elseif not entry.previewPicture is null and entry.mimetype starts with 'image/' %}
{% include "@WallabagCore/themes/material/Entry/_card_full_image.html.twig" with {'entry': entry} only %}
- {% elseif not entry.previewPicture is null %}
+ {% else %}
{% include "@WallabagCore/themes/material/Entry/_card_preview.html.twig" with {'entry': entry} only %}
{% endif %}
@@ -70,8 +68,8 @@
{% if craue_setting('export_epub') %}EPUB{% endif %}
{% if craue_setting('export_mobi') %}MOBI{% endif %}
{% if craue_setting('export_pdf') %}PDF{% endif %}
- {% if craue_setting('export_csv') %}JSON{% endif %}
- {% if craue_setting('export_json') %}CSV{% endif %}
+ {% if craue_setting('export_json') %}JSON{% endif %}
+ {% if craue_setting('export_csv') %}CSV{% endif %}
{% if craue_setting('export_txt') %}TXT{% endif %}
{% if craue_setting('export_xml') %}XML{% endif %}