mirror of
https://github.com/diaspora/diaspora.git
synced 2026-01-09 15:18:11 -05:00
Do not show the service to the user if it is disabled, fixes #6184
This commit is contained in:
@@ -57,7 +57,8 @@
|
||||
.btn-toolbar.pull-right#publisher-service-icons
|
||||
- if current_user.services
|
||||
- current_user.services.each do |service|
|
||||
= service_button(service)
|
||||
- if AppConfig.configured_services.map(&:to_s).include? service.provider
|
||||
= service_button(service)
|
||||
.btn.btn-link.question_mark{title: t("shared.public_explain.manage"),
|
||||
data: {toggle: "modal", target: "#publicExplainModal"}}
|
||||
%i.entypo-cog
|
||||
|
||||
Reference in New Issue
Block a user