Skip to content

Commit

Permalink
Merge pull request wallabag#3492 from bdunogier/fix-3484-disable_shar…
Browse files Browse the repository at this point in the history
…e_link

Fix 3484: hide the share toggle button if no service is enabled
  • Loading branch information
nicosomb authored Dec 12, 2017
2 parents 71318d6 + 0ef1ffb commit d80e993
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,15 @@
<div class="collapsible-body"></div>
</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">
<a class="waves-effect collapsible-header">
<i class="material-icons small">share</i>
Expand Down Expand Up @@ -169,6 +178,7 @@
</ul>
</div>
</li>
{% endif %}

{% if craue_setting('show_printlink') %}
<li class="bold border-bottom hide-on-med-and-down">
Expand Down

0 comments on commit d80e993

Please sign in to comment.