X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentries.html.twig;h=3af88b2378dfd81e58c9b138686b220056c64f27;hb=93a95c09bf7ab389de623f6cda01dfc295aa6b74;hp=29cb9584528c719ba513edcdedf2b40bf50cb3dc;hpb=80bd17f00df7691086a47632cefff4ad0e670a44;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 29cb9584..3af88b23 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,24 +1,11 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{{ 'entry.page_titles.unread'|trans }}{% endblock %} +{% block title %} + {% include "@WallabagCore/themes/common/Entry/_title.html.twig" %} +{% endblock %} {% block content %} - {% block pager %} -
-
{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}
- -
- {% endblock %} + {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} {% for entry in entries %}
@@ -42,14 +29,45 @@
  • {{ entry.domainName|removeWww }}
  • {% if entry.previewPicture is null %} +

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

    {% else %} + {{ entry.title|raw }} {% endif %}
    {% endfor %} - - + + {% endif %} {% endblock %}