X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2FEntry%2Fentries.html.twig;h=539c035fa65f7e1d2b8f14e8c0d90ae3a0b3d07e;hb=a737d2a0eeb23588fd8659471c41df0a6b95705a;hp=2f8423d78fdca0728aa13938b801cbf169e17fa0;hpb=ad4d1caa9e744af57ca58a4e57576533eb682d00;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig index 2f8423d7..539c035f 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig @@ -2,19 +2,15 @@ {% block title "Unread" %} -{% block menu %} - {% include "WallabagCoreBundle::_menu.html.twig" %} -{% endblock %} - {% block content %} {% block pager %} {% if entries is not empty %}
{{ entries.count }} {% trans %}entries{% endtrans %}
@@ -25,20 +21,21 @@ {% if entries is empty %}

{% trans %}No articles found.{% endtrans %}

{% else %} +
{{ form_rest(form) }}
{% for entry in entries %} -
+

{{ entry.title|raw }}

- {% if entry.content| readingTime > 0 %} -
{% trans %}estimated reading time :{% endtrans %} {{ entry.content| readingTime }} min
+ {% if entry.readingTime > 0 %} +
{% trans %}estimated reading time :{% endtrans %} {{ entry.readingTime }} min
{% else %}
{% trans %}estimated reading time :{% endtrans %} < 1 min
{% endif %}

{{ entry.content|striptags|slice(0, 300) }}...