X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentries.html.twig;h=0f1c010f5c50c5f6e867cad86be459179e1d41e5;hb=decf651bbdf0d21727769640bab85115081c92b9;hp=92eecb9be2053fab0ac7a4d0ddf5289a9386e2ac;hpb=1d4d9aaf2971e5b4d00a28f935c815e88bcf1487;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 92eecb9b..0f1c010f 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,9 +1,25 @@ {% extends "WallabagCoreBundle::layout.html.twig" %} -{% block title %}{{ 'entry.page_titles.unread'|trans }}{% endblock %} +{% block title %} + {% set currentTag = '' %} + {% if tag is defined %} + {% set currentTag = tag %} + {% endif %} + {% include "@WallabagCore/themes/common/Entry/_title.html.twig" with {'currentTag': currentTag} %} +{% endblock %} {% block content %} - {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} + +
+
{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}
+ +
{% for entry in entries %}
@@ -27,16 +43,16 @@
  • {{ entry.domainName|removeWww }}
  • {% if entry.previewPicture is null %} -

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

    +

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

    {% else %} {{ entry.title|raw }} @@ -44,27 +60,36 @@
    {% endfor %} + {% if entries.getNbPages > 1 %} + {{ pagerfanta(entries, 'twitter_bootstrap_translated', {'proximity': 1}) }} + {% endif %} + - - - {% include "WallabagCoreBundle:Entry:pager.html.twig" with {'entries': entries} %} + + {% endif %} {% endblock %}