X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FResources%2Fviews%2Fthemes%2Fbaggy%2FEntry%2Fentries.html.twig;h=5d657c7e7cb9a8bed158a52d9d01da3e7eb70ea5;hb=920d88599a077a7624574345243caf45c6bc5820;hp=f00ade4ea16839faff96073cb752a950a3432bfc;hpb=c95e39c51ae914c89321371018642dbb69a3b851;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 f00ade4e..5d657c7e 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,17 +1,15 @@ {% 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 %} - {% 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 %}
@@ -35,14 +33,49 @@
  • {{ entry.domainName|removeWww }}
  • {% if entry.previewPicture is null %} +

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

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