X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=1c5057ddd102784366ca99c1f4913b1f23eb31fc;hb=c146f6940a176142084b4fc3c610d13aca60d90e;hp=920fa9334bf69799d8dd5cdf11079bc82b58ad1f;hpb=15840670287d9c3683e7d02984f61deab825e08a;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 920fa933..1c5057dd 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/_title.html.twig" %} {% endblock %} {% block content %} @@ -26,16 +15,21 @@
{% if not entry.previewPicture is null %}
+
{% endif %}
{% if not entry.previewPicture is null %} - + more_vert {% endif %} - {{ entry.title|striptags|slice(0, 42)|raw }} + {{ entry.title|striptags|raw }}
@@ -50,13 +44,18 @@ {% if entry.previewPicture is null %}

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

+ {% endif %}
{% if not entry.previewPicture is null %}
- + clear {{ entry.title|raw }}
@@ -66,6 +65,12 @@

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

+ +
{% endif %} @@ -74,11 +79,11 @@ {{ entry.domainName|removeWww|truncate(18) }} -
@@ -106,6 +111,7 @@ + {% if form is not null %}
@@ -189,5 +195,6 @@
- {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} + {% endif %} + {% endblock %}