Commit 267d91bf authored by Lukas Matt's avatar Lukas Matt

Changes for a successful facebook review

I had two facebook reviews in the past days
Removing the display type and adding a explicit
'Share to' provider tag did the trick
Signed-off-by: default avatarLukas Matt <lukas@zauberstuhl.de>
parent 0cbb1233
......@@ -12,9 +12,10 @@ module PublisherHelper
end
def service_button(service)
share_to = I18n.t "services.index.share_to"
content_tag :div,
class: "btn btn-link service_icon dim",
title: "#{service.provider.titleize} (#{service.nickname})",
title: "#{share_to} #{service.provider.titleize} (#{service.nickname})",
id: "#{service.provider}",
maxchar: "#{service.class::MAX_CHARACTERS}",
data: {toggle: "tooltip", placement: "bottom"} do
......
......@@ -13,7 +13,6 @@ Rails.application.config.middleware.use OmniAuth::Builder do
if AppConfig.services.facebook.enable?
provider :facebook, AppConfig.services.facebook.app_id, AppConfig.services.facebook.secret, {
display: "popup",
scope: "public_profile,publish_actions",
client_options: {
ssl: {
......
......@@ -1171,6 +1171,7 @@ en:
really_disconnect: "Disconnect %{service}?"
edit_services: "Edit services"
services_explanation: "Connecting to third-party sharing services gives you the ability to publish your posts to them as you write them in diaspora*."
share_to: "Share to"
create:
success: "Authentication successful."
failure: "Authentication failed."
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment