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=03e785bfc5441819cba7c0f68709c5588d9f6da2;hpb=1f034a33162f17a80101afd41661797ca2aae25f;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 03e785bf..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,19 +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 %} - {% 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 %}
@@ -37,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 %}