X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=2c8224bbcbe35ed6e141163e4a013dce68f5a76c;hb=074110ca2dd3ba0d58f2fa93076933d06b46df77;hp=3906e1e0ebda871dad40b0cf1385635b0f398156;hpb=b19df31d78d881a43bcf6b3215e5fc3781e8e8aa;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 3906e1e0..2c8224bb 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 @@ -24,6 +24,7 @@ {% if currentRoute == 'homepage' %} {% set currentRoute = 'unread' %} {% endif %} +
{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} @@ -38,8 +39,23 @@
+ {% if entries.getNbPages > 1 %}
@@ -63,15 +80,20 @@ {% if tag is defined %} {% set currentTag = tag.slug %} {% endif %} + {% set exportSearchTerm = null %} + {% if searchTerm is defined %} + {% set exportSearchTerm = searchTerm %} + {% endif %} + {% set previousRoute = app.request.attributes.get('currentRoute') %}

{{ 'entry.list.export_title'|trans }}

    - {% if craue_setting('export_epub') %}
  • EPUB
  • {% endif %} - {% if craue_setting('export_mobi') %}
  • MOBI
  • {% endif %} - {% if craue_setting('export_pdf') %}
  • PDF
  • {% endif %} - {% if craue_setting('export_json') %}
  • JSON
  • {% endif %} - {% if craue_setting('export_csv') %}
  • CSV
  • {% endif %} - {% if craue_setting('export_txt') %}
  • TXT
  • {% endif %} - {% if craue_setting('export_xml') %}
  • XML
  • {% endif %} + {% if craue_setting('export_epub') %}
  • EPUB
  • {% endif %} + {% if craue_setting('export_mobi') %}
  • MOBI
  • {% endif %} + {% if craue_setting('export_pdf') %}
  • PDF
  • {% endif %} + {% if craue_setting('export_json') %}
  • JSON
  • {% endif %} + {% if craue_setting('export_csv') %}
  • CSV
  • {% endif %} + {% if craue_setting('export_txt') %}
  • TXT
  • {% endif %} + {% if craue_setting('export_xml') %}
  • XML
  • {% endif %}
@@ -79,7 +101,6 @@ {% if form is not null %}
-

{{ 'entry.filters.title'|trans }}

@@ -187,4 +208,35 @@
{% endif %} + + {% if sortForm is not null %} +
+ +

{{ 'entry.sort.title'|trans }}

+ +
+
+ {{ form_label(sortForm.sortType) }} +
+ +
+ {{ form_widget(sortForm.sortType) }} +
+ +
+ {{ form_label(sortForm.sortOrder) }} +
+ +
+ {{ form_widget(sortForm.sortOrder) }} +
+ +
+ +
+
+ +
+ {% endif %} + {% endblock %}