Skip to content

Commit

Permalink
Release 5/22 (#1905)
Browse files Browse the repository at this point in the history
* Enable Twitter Channels 🏷  (#1897)
  • Loading branch information
dlipeles authored May 22, 2019
1 parent 145b0bf commit bdcfca2
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
17 changes: 8 additions & 9 deletions app/views/publishers/_choose_channel_type.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bdcfca2

Please sign in to comment.