aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorBertrand Dunogier <bertrand.dunogier@ez.no>2017-12-12 18:25:55 +0100
committerBertrand Dunogier <bertrand.dunogier@ez.no>2017-12-12 18:36:24 +0100
commit0ef1ffbf712950416aa5c14920e227c8148eee1b (patch)
tree6f42d90164a02da393254a599905fdaa63e3b77c /src
parentf209798368de66b4acd8b892fe71018ebb30c2da (diff)
downloadwallabag-0ef1ffbf712950416aa5c14920e227c8148eee1b.tar.gz
wallabag-0ef1ffbf712950416aa5c14920e227c8148eee1b.tar.zst
wallabag-0ef1ffbf712950416aa5c14920e227c8148eee1b.zip
Fix #3484: hide the share toggle button if no service is enabled
Diffstat (limited to 'src')
-rw-r--r--src/Wallabag/CoreBundle/Resources/views/themes/material/Entry/entry.html.twig10
1 files changed, 10 insertions, 0 deletions
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 @@
97 <div class="collapsible-body"></div> 97 <div class="collapsible-body"></div>
98 </li> 98 </li>
99 99
100 {% if craue_setting('share_public')
101 or craue_setting('share_twitter')
102 or craue_setting('share_shaarli')
103 or craue_setting('share_scuttle')
104 or craue_setting('share_diaspora')
105 or craue_setting('share_unmark')
106 or craue_setting('carrot')
107 or craue_setting('share_mail')
108 %}
100 <li class="bold"> 109 <li class="bold">
101 <a class="waves-effect collapsible-header"> 110 <a class="waves-effect collapsible-header">
102 <i class="material-icons small">share</i> 111 <i class="material-icons small">share</i>
@@ -169,6 +178,7 @@
169 </ul> 178 </ul>
170 </div> 179 </div>
171 </li> 180 </li>
181 {% endif %}
172 182
173 {% if craue_setting('show_printlink') %} 183 {% if craue_setting('show_printlink') %}
174 <li class="bold border-bottom hide-on-med-and-down"> 184 <li class="bold border-bottom hide-on-med-and-down">