From add0e14cffa6d36affc5fe2e815d069a1ecfc258 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Nicolas=20L=C5=93uillet?= Date: Fri, 26 Aug 2016 21:20:02 +0200 Subject: [PATCH] Fixed print view for baggy theme --- .../static/themes/baggy/css/print.css | 4 +- .../views/themes/baggy/Entry/entry.html.twig | 43 ++++++++++--------- 2 files changed, 26 insertions(+), 21 deletions(-) diff --git a/app/Resources/static/themes/baggy/css/print.css b/app/Resources/static/themes/baggy/css/print.css index 6f187ff5..f7f6a8ad 100755 --- a/app/Resources/static/themes/baggy/css/print.css +++ b/app/Resources/static/themes/baggy/css/print.css @@ -26,7 +26,9 @@ div.tools, header div, .messages, - .entrie + .results { + .entrie + .results, + #article .mbm a, + #article-informations { display: none !important; } diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig index 6c46f91f..675168bb 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/baggy/Entry/entry.html.twig @@ -30,29 +30,32 @@
  • {{ 'entry.view.left_menu.problem.label'|trans }}
  • - - +
    + - {% set nbAnnotations = entry.annotations | length %} - comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }} - + + {% set nbAnnotations = entry.annotations | length %} + comment {{ 'entry.view.annotations_on_the_entry'|transchoice(entry.annotations | length) }} + +
    {% if entry.previewPicture is not null %}
    {{ entry.title|raw }}
    {% endif %} -- 2.41.0