Skip to content

Commit

Permalink
Remove vimeo from flag (#2003)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cory McDonald authored Jun 26, 2019
1 parent 4e7abd8 commit 18e422f
Showing 1 changed file with 8 additions and 10 deletions.
18 changes: 8 additions & 10 deletions app/views/publishers/_choose_channel_type.html.slim
Original file line number Diff line number Diff line change
Expand Up @@ -27,23 +27,21 @@
= t "publishers.choose_new_channel_type.twitch.description"

= link_to(publisher_register_twitter_channel_omniauth_authorize_path, method: :post, class: 'card block-link--card', :"data-piwik-action" => "AddTwitterChannelClicked", :"data-piwik-name" => "Clicked", :"data-piwik-value" => "AddChannelFlow") do
.new-tag
.card-body
.icon-and-text--icon
= image_tag "choose-channel/twitter.svg", 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, method: :post, class: 'card block-link--card', :"data-piwik-action" => "AddVimeoChannelClicked", :"data-piwik-name" => "Clicked", :"data-piwik-value" => "AddChannelFlow") do
.new-tag
.card-body
.icon-and-text--icon
= image_tag "choose-channel/vimeo.svg", class: "choose-channel--icon"
.icon-and-text--text
h6= t "publishers.choose_new_channel_type.vimeo.heading"
= t "publishers.choose_new_channel_type.vimeo.description"
= link_to(publisher_register_vimeo_channel_omniauth_authorize_path, method: :post, class: 'card block-link--card', :"data-piwik-action" => "AddVimeoChannelClicked", :"data-piwik-name" => "Clicked", :"data-piwik-value" => "AddChannelFlow") do
.new-tag
.card-body
.icon-and-text--icon
= image_tag "choose-channel/vimeo.svg", class: "choose-channel--icon"
.icon-and-text--text
h6= t "publishers.choose_new_channel_type.vimeo.heading"
= t "publishers.choose_new_channel_type.vimeo.description"

= link_to(publisher_register_reddit_channel_omniauth_authorize_path, method: :post, class: 'card block-link--card', :"data-piwik-action" => "AddRedditChannelClicked", :"data-piwik-name" => "Clicked", :"data-piwik-value" => "AddChannelFlow") do
.new-tag
Expand Down

0 comments on commit 18e422f

Please sign in to comment.