]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig
fix #1357, truncate domain name if it's too loooong
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Resources / views / Entry / entries.html.twig
index 118a2f4bedfa39c3f7b207b6d5ef98700a581f12..3f5cf46090e7a3739b70d912df9fb737424252cc 100644 (file)
@@ -37,7 +37,7 @@
                     <li><a title="{% trans %}delete{% endtrans %}" class="tool delete icon-trash icon" href="{{ path('delete_entry', { 'id': entry.id }) }}"><span>{% trans %}delete{% endtrans %}</span></a></li>
                     <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans %}original{% endtrans %} : {{ entry.title|e }}" class="tool link icon-link icon"><span>{{ entry.domainName }}</span></a></li>
                 </ul>
-                <p>{{ entry.content|striptags|slice(0, 300) }}...</p>
+                <p>{{ entry.content|striptags|slice(0, 300) }}&hellip;</p>
             </div>
         {% endfor %}
     {% endif %}