X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2FEntry%2Fentries.html.twig;h=7629ef35e646e86786dcf4fe20c9cc8cf236198f;hb=930334cd6d486843b536412391a549815efd038e;hp=dfce4b3ce67db728698428f7fb232bbee6ba2a59;hpb=29c4517f7a8ed08239e5bee3d6c3fa823a83d102;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 dfce4b3c..7629ef35 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,11 +21,12 @@ {% 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 %}