mirror of
https://github.com/wallabag/wallabag.git
synced 2024-11-26 19:11:07 +00:00
Merge pull request #3492 from bdunogier/fix-3484-disable_share_link
Fix 3484: hide the share toggle button if no service is enabled
This commit is contained in:
commit
d80e9931f5
1 changed files with 10 additions and 0 deletions
|
@ -97,6 +97,15 @@
|
||||||
<div class="collapsible-body"></div>
|
<div class="collapsible-body"></div>
|
||||||
</li>
|
</li>
|
||||||
|
|
||||||
|
{% 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')
|
||||||
|
%}
|
||||||
<li class="bold">
|
<li class="bold">
|
||||||
<a class="waves-effect collapsible-header">
|
<a class="waves-effect collapsible-header">
|
||||||
<i class="material-icons small">share</i>
|
<i class="material-icons small">share</i>
|
||||||
|
@ -169,6 +178,7 @@
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
{% if craue_setting('show_printlink') %}
|
{% if craue_setting('show_printlink') %}
|
||||||
<li class="bold border-bottom hide-on-med-and-down">
|
<li class="bold border-bottom hide-on-med-and-down">
|
||||||
|
|
Loading…
Reference in a new issue