X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2FEntry%2Fentries.html.twig;h=7629ef35e646e86786dcf4fe20c9cc8cf236198f;hb=2686457448372543fdf4f1fc54c4fd20f0f02c2c;hp=bf3caf097279e42433134e6325fbc22a85f874d8;hpb=fedaf005377e6d62ff0986f7f54afef3287a6451;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 bf3caf09..7629ef35 100644 --- a/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/Entry/entries.html.twig @@ -21,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 %}