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=1f3cd1a72393011b9678058dc69868812e63ebf9;hb=2ff26deaf8a71ee428eebc08c387ad4bab764686;hp=4836a4ea36098126cf204c7d64a948a717e06589;hpb=3c9548257ccb92a13c658372fc09dccff117bb36;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 4836a4ea..1f3cd1a7 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 }} - - + + {{ entry.title | striptags | truncate(80, true, '…') | default('entry.default_title'|trans) | raw }} +
{{ 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 %}