From: Nicolas Lœuillet Date: Fri, 26 Aug 2016 19:20:02 +0000 (+0200) Subject: Fixed print view for baggy theme X-Git-Tag: 2.1.0~48^2~1 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=add0e14cffa6d36affc5fe2e815d069a1ecfc258;p=github%2Fwallabag%2Fwallabag.git Fixed print view for baggy theme --- 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 %}