X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=7e48619e8c4a0afeacb6fd1d78969812558f9332;hb=f9987d4a213627c6e09eee80743d42c344482e69;hp=a137f3c34895954001c1cbb15f1c492630223b8f;hpb=3a696280075af753fc57ad1a0a6ca3636ef0255d;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 a137f3c3..7e48619e 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 }}

@@ -83,6 +105,12 @@

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

+ {% if currentRoute != 'untagged' and nbEntriesUntagged != 0 %} +
+ {{ 'tag.list.see_untagged_entries'|trans }} ({{nbEntriesUntagged}}) +
+ {% endif %} +
@@ -181,4 +209,40 @@
{% endif %} + +
+ +

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

+ +
+
+ +
+ +
+ + {{ form_label(form.isArchived) }} +
+ +
+
+ +
+
+
+ +
+ + {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} + {% endblock %}