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=2db9142bfc3e34c1f79f3aabf5b302c3a487b3e1;hp=22f456daac03b2ce6b09f81c1d8cf5b38ac33537;hpb=e543d03fd77f773b84cb58c60ac2622360ab4134;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 22f456da..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,28 +1,29 @@ {% 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) }}
- + +
+
{{ 'entry.list.number_on_the_page'|transchoice(entries.count) }}
+ - {% endblock %} +
{% for entry in entries %}
-

{{ entry.title|raw }}

+

{{ entry.title|raw }}

{% set readingTime = entry.readingTime / app.user.config.readingSpeed %}
@@ -42,14 +43,53 @@
  • {{ entry.domainName|removeWww }}
  • {% if entry.previewPicture is null %} +

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

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