]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Default card title
authorSimounet <contact@simounet.net>
Wed, 20 Dec 2017 20:02:56 +0000 (21:02 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Tue, 26 Dec 2017 07:55:23 +0000 (08:55 +0100)
src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/Card/_content.html.twig

index 4836a4ea36098126cf204c7d64a948a717e06589..f02dfba47d0b6ec43eba2ad148e596a9602ac3c2 100644 (file)
@@ -4,7 +4,7 @@
     {% endif %}
     <span class="card-title dot-ellipsis dot-resize-update">
         <a href="{{ path('view', { 'id': entry.id }) }}" title="{{ entry.title| striptags | e('html_attr') }}">
-            {{ entry.title | striptags | truncate(80, true, '…') | raw }}
+            {{ entry.title | striptags | truncate(80, true, '…') | raw | default('config.form_rules.faq.variable_description.title'|trans) }}
         </a>
     </span>