X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=7706896fd82e804b25a163dc65adbd170072dda3;hb=19c407f2967786bb106ebae636055b30af900e7b;hp=742dd330b4591e50b7da4c54858171de285f22d7;hpb=ca990600da23344b9735834bb22e8658b195a55b;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 742dd330..7706896f 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 @@ -2,8 +2,8 @@ {% block head %} {{ parent() }} - {% if tag is defined and app.user.config.rssToken %} - + {% if tag is defined and app.user.config.feedToken %} + {% endif %} {% endblock %} @@ -21,12 +21,16 @@ {% block content %} {% set listMode = app.user.config.listMode %} {% set currentRoute = app.request.attributes.get('_route') %} + {% if currentRoute == 'homepage' %} + {% set currentRoute = 'unread' %} + {% endif %} +
{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }} {% if listMode == 0 %}view_list{% else %}view_module{% endif %} - {% if app.user.config.rssToken %} - {% include "@WallabagCore/themes/common/Entry/_rss_link.html.twig" %} + {% if app.user.config.feedToken %} + {% include "@WallabagCore/themes/common/Entry/_feed_link.html.twig" %} {% endif %}
{% if entries.getNbPages > 1 %} @@ -35,8 +39,23 @@
+
{% if entries.getNbPages > 1 %}
@@ -60,18 +80,20 @@ {% if tag is defined %} {% set currentTag = tag.slug %} {% endif %} - {% if currentRoute == 'homepage' %} - {% set currentRoute = 'unread' %} + {% set exportSearchTerm = null %} + {% if searchTerm is defined %} + {% set exportSearchTerm = searchTerm %} {% endif %} + {% set previousRoute = app.request.attributes.get('currentRoute') %}

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

@@ -79,10 +101,15 @@ {% if form is not null %}
-

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

+ {% if currentRoute != 'untagged' and nbEntriesUntagged != 0 %} + + {% endif %} +
@@ -181,4 +208,33 @@
{% endif %} + + {% if sortForm is not null %} +
+ +

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

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