aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-24 22:09:57 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-24 22:09:57 +0200
commit50243f0e3482fb7c10a05d79ae58b050f6e74254 (patch)
tree68ba6227c8ef86d6fac85ce9f9e84e6b692417df /src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig
parent8c55a9e6c9a563c3a4b3b3d35581e1c67a8a8c04 (diff)
downloadwallabag-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/entries.html.twig')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig2
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) }}&hellip;</p>
41 </div> 41 </div>
42 {% endfor %} 42 {% endfor %}
43 {% endif %} 43 {% endif %}