X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=c3fd4d286d46510469a90aac198e7ceed2734953;hb=7720cca5325eae71595e6355d6599448c30377fb;hp=4fbc447374c8d915ccfbd1cdacb61375a85671b2;hpb=0e7cf1fc502e6d01f3059cb821420485bcb4614a;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 4fbc4473..c3fd4d28 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 @@ -4,89 +4,186 @@ {% set currentRoute = app.request.attributes.get('_route') %} {% if currentRoute == 'starred' %} - {% trans %}Starred{% endtrans %} + {% trans %}starred{% endtrans %} {% elseif currentRoute == 'archive' %} - {% trans %}Archive{% endtrans %} + {% trans %}archive{% endtrans %} + {% elseif currentRoute == 'all' %} + {% trans %}Filtered{% endtrans %} {% else %} - {% trans %}Unread{% endtrans %} + {% trans %}unread{% endtrans %} {% endif %} {% endblock %} {% block content %} {% block pager %} - {% if entries is not empty %} -
-
{{ entries.count }} {% trans %}entries{% endtrans %}
-
- - {% endif %} +
+
{% transchoice entries.count %}{0} There is no entry.|{1} There is one entry.|]1,Inf[ There are %count% entries.{% endtranschoice %}
+ +
{% endblock %} -
- {% if entries is empty %} -

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

- {% else %} - + + +
+ {% set currentRoute = app.request.attributes.get('_route') %} + {% if currentRoute == 'homepage' %} + {% set currentRoute = 'unread' %} {% endif %} - +

{% trans %}Export{% endtrans %}

+ +
-
+ -

{% trans %}Filters{% endtrans %}

+

{% trans %}Filters{% endtrans %}

+
+ +
+ +
+ {{ form_widget(form.isArchived) }} + +
+ +
+ {{ form_widget(form.isStarred) }} + +
- + +
+ +
+ {{ form_widget(form.previewPicture) }} +
+
+ +
+ +
+ {{ form_widget(form.language) }} +
+ +
+ +
{{ form_widget(form.readingTime.left_number, {'type': 'number'}) }}
-
{{ form_widget(form.readingTime.right_number, {'type': 'number'}) }}
+
+ {{ form_widget(form.domainName, {'type': 'text', 'attr' : {'placeholder': 'website.com' | trans} }) }} + +
+ +
+ +
+ +
+ {{ 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} }) }} + +
+