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=e39aec3e38144f1a2ddb0027ec724e3dfd6f53f1;hp=d245c8fdf3c5cff776c942a3ca3572b54897009f;hpb=25dc07d3c9d88dcb84444d69fd0b4822315c3fac;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 d245c8fd..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|slice(0, 42)|raw }} + {{ entry.title|striptags|raw }}
@@ -57,7 +46,7 @@

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

{% endif %} @@ -78,25 +67,22 @@

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

- {% if entry.tags | length > 2 %} - {{ 'entry.list.number_of_tags'|transchoice(entry.tags | length - 2) }} - {% endif %}
{% endif %}
{{ entry.domainName|removeWww|truncate(18) }} - + @@ -125,6 +111,7 @@
+ {% if form is not null %}
@@ -208,5 +195,6 @@
- {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} + {% endif %} + {% endblock %}