X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fmaterial%2FEntry%2Fentries.html.twig;h=01fde953e2505c812937c9d09e44a0cfa0effad6;hb=ab809de18415a9ce3bbc95d3a0a1af6c50a41c4f;hp=1d5692264d6a8016627da7f147b112bc479b8884;hpb=e7658cb00993fc24bddef26b6373197bd4503c99;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 1d569226..01fde953 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 %} @@ -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 %}
@@ -126,6 +132,11 @@ {{ form_label(form.isStarred) }}
+
+ {{ form_widget(form.isUnread) }} + {{ form_label(form.isUnread) }} +
+
@@ -184,5 +195,6 @@ - {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} + {% endif %} + {% endblock %}