From: Bertrand Dunogier Date: Tue, 12 Dec 2017 17:25:55 +0000 (+0100) Subject: Fix #3484: hide the share toggle button if no service is enabled X-Git-Tag: 2.3.1~16^2 X-Git-Url: https://git.immae.eu/?a=commitdiff_plain;h=0ef1ffbf712950416aa5c14920e227c8148eee1b;hp=f209798368de66b4acd8b892fe71018ebb30c2da;p=github%2Fwallabag%2Fwallabag.git Fix #3484: hide the share toggle button if no service is enabled --- diff --git a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig index bd9eb0d7..e134abcd 100644 --- a/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig +++ b/src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig @@ -97,6 +97,15 @@
+ {% if craue_setting('share_public') + or craue_setting('share_twitter') + or craue_setting('share_shaarli') + or craue_setting('share_scuttle') + or craue_setting('share_diaspora') + or craue_setting('share_unmark') + or craue_setting('carrot') + or craue_setting('share_mail') + %}
  • share @@ -169,6 +178,7 @@
  • + {% endif %} {% if craue_setting('show_printlink') %}