diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-24 22:09:57 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-08-24 22:09:57 +0200 |
commit | 50243f0e3482fb7c10a05d79ae58b050f6e74254 (patch) | |
tree | 68ba6227c8ef86d6fac85ce9f9e84e6b692417df /src/Wallabag/CoreBundle/Resources/views/Entry | |
parent | 8c55a9e6c9a563c3a4b3b3d35581e1c67a8a8c04 (diff) | |
download | wallabag-50243f0e3482fb7c10a05d79ae58b050f6e74254.tar.gz wallabag-50243f0e3482fb7c10a05d79ae58b050f6e74254.tar.zst wallabag-50243f0e3482fb7c10a05d79ae58b050f6e74254.zip |
fix #1357, truncate domain name if it's too loooong
Diffstat (limited to 'src/Wallabag/CoreBundle/Resources/views/Entry')
-rw-r--r-- | src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig index 118a2f4b..3f5cf460 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig | |||
@@ -37,7 +37,7 @@ | |||
37 | <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> | 37 | <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> |
38 | <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> | 38 | <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> |
39 | </ul> | 39 | </ul> |
40 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> | 40 | <p>{{ entry.content|striptags|slice(0, 300) }}…</p> |
41 | </div> | 41 | </div> |
42 | {% endfor %} | 42 | {% endfor %} |
43 | {% endif %} | 43 | {% endif %} |