X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=e889dea8c2d8d85d4b59045628a3d24684fc8105;hb=77557d289bafc088baf806e4744f110dfd959300;hp=e9a2b1831063fa2ce7d0c157a916b22ca26230cf;hpb=2bb138ef6df2d1a608b42907185b274fb87f4513;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 e9a2b183..e889dea8 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 @@ -1,18 +1,7 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} {% block title %} - {% set currentRoute = app.request.attributes.get('_route') %} - - {% if currentRoute == 'starred' %} - {{ 'entry.page_titles.starred'|trans }} - {% elseif currentRoute == 'archive' %} - {{ 'entry.page_titles.archived'|trans }} - {% elseif currentRoute == 'all' %} - {{ 'entry.page_titles.filtered'|trans }} - {% else %} - {{ 'entry.page_titles.unread'|trans }} - {% endif %} - + {% include "@WallabagCore/themes/common/Entry/_title.html.twig" %} {% endblock %} {% block content %} @@ -40,7 +29,7 @@ more_vert {% endif %} - {{ entry.title|striptags|raw }} + {{ entry.title|striptags|raw }}
@@ -93,7 +82,7 @@ @@ -122,6 +111,7 @@
+ {% if form is not null %}
@@ -205,5 +195,6 @@
- {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} + {% endif %} + {% endblock %}