X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2F_card_list.html.twig;h=08f5b0e260ff4684a3679ff6ac8720ca16854333;hb=d1f260e2d7bc62960267dbe70a1d8dd64f8dd9a7;hp=b77cdc14559cf7b250c73c0fbc418ff84161172b;hpb=56a7ce17f3a9a22e0bfc8651cb690a14447e0afd;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig index b77cdc14..08f5b0e2 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/_card_list.html.twig @@ -1,14 +1,34 @@ -
-
-
- - - {{ entry.title| striptags | truncate(120, true, '…') | raw }} - - -

{{ entry.content|striptags|slice(0, 500)|raw }}…

-
+
+
+ {% if entry.previewPicture is not null %} + + + + {% endif %} +
+
+ + + {{ entry.title| striptags | truncate(120, true, '…') | raw }} + + - {% include "@WallabagCore/themes/material/Entry/_card_actions.html.twig" with {'entry': entry} only %} +
+