From bdcfca2016f034e320bca325d5b3052fc74376d6 Mon Sep 17 00:00:00 2001 From: "Dan A. Lipeles" Date: Wed, 22 May 2019 11:51:56 -0400 Subject: [PATCH] Release 5/22 (#1905) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * Enable Twitter Channels 🏷 (#1897) --- .../publishers/_choose_channel_type.html.slim | 17 ++++++++--------- config/locales/en.yml | 2 +- 2 files changed, 9 insertions(+), 10 deletions(-) diff --git a/app/views/publishers/_choose_channel_type.html.slim b/app/views/publishers/_choose_channel_type.html.slim index bef823edb1..77b17c4bb4 100644 --- a/app/views/publishers/_choose_channel_type.html.slim +++ b/app/views/publishers/_choose_channel_type.html.slim @@ -29,15 +29,14 @@ h6= t "publishers.choose_new_channel_type.twitch.heading" = t "publishers.choose_new_channel_type.twitch.description" -- if params[:twitter] - = link_to(publisher_register_twitter_channel_omniauth_authorize_path, class: 'card block-link--card', :"data-piwik-action" => "AddTwitterChannelClicked", :"data-piwik-name" => "Clicked", :"data-piwik-value" => "AddChannelFlow") do - .card-body - .icon-and-text--wrapper - .icon-and-text--icon - = image_tag "choose-channel/choose-channel--twitter.jpg", height: 72, width: 88, class: "choose-channel--icon" - .icon-and-text--text - h6= t "publishers.choose_new_channel_type.twitter.heading" - = t "publishers.choose_new_channel_type.twitter.description" += link_to(publisher_register_twitter_channel_omniauth_authorize_path, class: 'card block-link--card', :"data-piwik-action" => "AddTwitterChannelClicked", :"data-piwik-name" => "Clicked", :"data-piwik-value" => "AddChannelFlow") do + .card-body + .icon-and-text--wrapper + .icon-and-text--icon + = image_tag "choose-channel/choose-channel--twitter.jpg", height: 72, width: 88, class: "choose-channel--icon" + .icon-and-text--text + h6= t "publishers.choose_new_channel_type.twitter.heading" + = t "publishers.choose_new_channel_type.twitter.description" - if params[:vimeo] = link_to(publisher_register_vimeo_channel_omniauth_authorize_path, class: 'card block-link--card', :"data-piwik-action" => "AddVimeoChannelClicked", :"data-piwik-name" => "Clicked", :"data-piwik-value" => "AddChannelFlow") do diff --git a/config/locales/en.yml b/config/locales/en.yml index 271b923f4f..efa9bc0d1c 100644 --- a/config/locales/en.yml +++ b/config/locales/en.yml @@ -369,7 +369,7 @@ en: description: I'm the primary owner of a Twitch channel. twitter: heading: TWITTER - description: I own a Twitter account. + description: I own or manage a Twitter account. vimeo: heading: VIMEO CHANNEL description: I own or manage a Vimeo channel.