X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2FCard%2F_content.html.twig;h=1c898f0ffe84e4e3ff80256fba059162acb38807;hb=8e15ece7df98709202d03ad6a52158249e37ec70;hp=f02dfba47d0b6ec43eba2ad148e596a9602ac3c2;hpb=ac8489f5f7fc44104c501e917d6f9889c50092a4;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig index f02dfba4..1c898f0f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig @@ -2,20 +2,14 @@ {% if withPreview is defined %} more_vert {% endif %} - - - {{ entry.title | striptags | truncate(80, true, '…') | raw | default('config.form_rules.faq.variable_description.title'|trans) }} - - + + {{ entry.title | striptags | truncate(80, true, '…') | raw | default('entry.default_title'|trans) }} +
{{ entry.domainName|removeWww }} - {% if withTags %} - {% for tag in entry.tags | slice(0, 3) %} - - {{ tag.label }} - - {% endfor %} + {% if withTags is defined %} + {% include "@WallabagCore/themes/material/Entry/_tags.html.twig" with {'tags': entry.tags | slice(0, 3), 'entryId': entry.id, 'listClass': ' hide-on-med-and-down'} only %} {% endif %}