X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentries.html.twig;h=1554cce4789b33c9cebaee7f3394e5573feadd5f;hb=c6b68dc1df955e9172f5ffaa59f6eecd75bfbb91;hp=a2caaebf80a9e5c4fcf51db7afcf0087f9614c2b;hpb=09e5b9391e0a09db02b2aa4c8f649b59e3baeb16;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig index a2caaebf..1554cce4 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entries.html.twig @@ -1,6 +1,8 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{{ 'entry.page_titles.unread'|trans }}{% endblock %} +{% block title %} + {% include "@WallabagCore/themes/_title.html.twig" %} +{% endblock %} {% block content %} {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} @@ -28,12 +30,43 @@ {% if entry.previewPicture is null %}

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

+ {% else %} + {{ entry.title|raw }} {% endif %} {% endfor %} + + + + + {% if form is not null %} - - {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} + {% endif %} {% endblock %}