From: Simounet Date: Wed, 20 Dec 2017 20:02:56 +0000 (+0100) Subject: Default card title X-Git-Tag: 2.3.1~1^2~5 X-Git-Url: https://git.immae.eu/?p=github%2Fwallabag%2Fwallabag.git;a=commitdiff_plain;h=ac8489f5f7fc44104c501e917d6f9889c50092a4 Default card title --- 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..f02dfba4 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 @@ -4,7 +4,7 @@ {% endif %} - {{ entry.title | striptags | truncate(80, true, '…') | raw }} + {{ entry.title | striptags | truncate(80, true, '…') | raw | default('config.form_rules.faq.variable_description.title'|trans) }}