aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2017-12-12 20:24:36 +0100
committerGitHub <noreply@github.com>2017-12-12 20:24:36 +0100
commitd80e9931f5faa071c44453e03c4ac45025106a3f (patch)
tree2832eab203c48284e2aa65ad66a10a75c7f01fcc /src
parent71318d6103e95fbe1103a71770da1dd9abbaaeb1 (diff)
parent0ef1ffbf712950416aa5c14920e227c8148eee1b (diff)
downloadwallabag-d80e9931f5faa071c44453e03c4ac45025106a3f.tar.gz
wallabag-d80e9931f5faa071c44453e03c4ac45025106a3f.tar.zst
wallabag-d80e9931f5faa071c44453e03c4ac45025106a3f.zip
Merge pull request #3492 from bdunogier/fix-3484-disable_share_link
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">