From 0ef1ffbf712950416aa5c14920e227c8148eee1b Mon Sep 17 00:00:00 2001 From: Bertrand Dunogier Date: Tue, 12 Dec 2017 18:25:55 +0100 Subject: Fix #3484: hide the share toggle button if no service is enabled --- .../Resources/views/themes/material/Entry/entry.html.twig | 10 ++++++++++ 1 file changed, 10 insertions(+) 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') %}
  • -- cgit v1.2.3