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=f6941ca54a871367c0514312c4ba7176d6467b70;hpb=538587855a72be5b49962132b976816295a05ebc;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 f6941ca5..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,13 +15,18 @@
{% if not entry.previewPicture is null %}
+
{% endif %}
{% if not entry.previewPicture is null %} - + more_vert {% endif %} {{ 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) }} -