X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=919f94ecad7b898c799f5607ab1a8f9cf41854ba;hb=99731f0bb1f6fd2815eeb9af504ce86df927657b;hp=e9a2b1831063fa2ce7d0c157a916b22ca26230cf;hpb=1d4d9aaf2971e5b4d00a28f935c815e88bcf1487;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..919f94ec 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 %} @@ -28,7 +17,7 @@
@@ -40,7 +29,7 @@ more_vert {% endif %} - {{ entry.title|striptags|raw }} + {{ entry.title|striptags|raw }}
@@ -57,7 +46,7 @@

{{ entry.content|striptags|slice(0, 300)|raw }}…

{% endif %} @@ -77,9 +66,9 @@

{{ entry.content|striptags|slice(0, 300)|raw }}…

-
@@ -88,12 +77,12 @@
{{ entry.domainName|removeWww|truncate(18) }} - + @@ -122,6 +111,7 @@
+ {% if form is not null %}
@@ -205,5 +195,6 @@
- {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} + {% endif %} + {% endblock %}