Default card title

This commit is contained in:
Simounet 2017-12-20 21:02:56 +01:00 committed by Nicolas Lœuillet
parent 3c9548257c
commit ac8489f5f7

View 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>