X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=d6dd7c376a836c4453b30dd55f3e8bffc81b8738;hb=54f2b4a254345a58cd03b872bd772863855c7f1f;hp=8fc6e8f6e8790a7e216d9ec024ed84904e3735b0;hpb=3162601c59cb07615afeebc007e157ca64c658c7;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig index 8fc6e8f6..d6dd7c37 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entries.html.twig @@ -15,52 +15,46 @@ {% block content %} {% block pager %} - {% if entries is not empty %} -
-
{{ entries.count }} {% trans %}entries{% endtrans %}
-
+
+
{% transchoice entries.count %}{0} There is no entry.|{1} There is one entry.|]1,Inf[ There are %count% entries.{% endtranschoice %}
+
- {% endif %} + {% endblock %} -
- {% if entries is empty %} -

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

- {% else %} - @@ -86,14 +80,6 @@
-
- {{ form_widget(form.createdAt.left_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.left_date.vars.value} }) }} - -
-
- {{ form_widget(form.createdAt.right_date, {'type': 'date', 'attr': {'class': 'datepicker', 'data-value': form.createdAt.right_date.vars.value} }) }} - -
{% trans %}Clear{% endtrans %}