method added to autocycle through sponsors based on sponsor level and code added to inherit twitter env variables

This commit is contained in:
AnithaPal 2016-08-01 15:44:01 -04:00
parent 881518f1f3
commit e8d3177ec1
14 changed files with 89 additions and 163 deletions

View file

@ -1,8 +1,14 @@
.container
.row
.col-md-12.text-center
%h2 Conference Tweets
- @tweets.each do |tweet|
%div#tweet
= tweet.user.name
= tweet.text
%h2
= "#" + @conference.contact.social_tag + " Tweets"
%div#tweet-container
- @tweets.each do |tweet|
%div#tweet
%blockquote.twitter-tweet
%p{:lang => "en"}
= tweet.text
= link_to "— @" + tweet.user.name, "http://www.twitter.com/#{tweet.user.name}", target: "_blank"
= link_to tweet.url, tweet.url.to_s