diff options
Diffstat (limited to 'app/views/twitter/_index.html.erb')
-rw-r--r-- | app/views/twitter/_index.html.erb | 19 |
1 files changed, 5 insertions, 14 deletions
diff --git a/app/views/twitter/_index.html.erb b/app/views/twitter/_index.html.erb index ba618b3..a7ebd1b 100644 --- a/app/views/twitter/_index.html.erb +++ b/app/views/twitter/_index.html.erb @@ -1,24 +1,15 @@ <% if twitter_enabled == true %> <div class="twitter"> - <div class="twitter_header"> - <div class="twitter_id"> - <div class="twitter_pic twitter_image_frame"><%= image_tag("Twitter_Logo_White_On_Blue.png") %></div> - <div class="twitter_name"><%= twitter_name%><br><a href="https://twitter.com/loadtocode">@<%= twitter_handle %></a></div> - </div> - </div> - - <!-- <div class="twitter_header"> - <p>These are the most recent tweets by <%= twitter_name%></p> - + <div class="twitter_header"> <div class="twitter_id"> - <div class="twitter_pic twitter_image_frame"><%= image_tag("Twitter_Logo_White_On_Blue.png") %></div> - <div class="twitter_name"><a href="https://twitter.com/loadtocode">@<%= twitter_handle %></a></div> + <div class="twitter_image_frame"><%= image_tag("Twitter_Logo_Blue.png") %></div> + <div class="twitter_name"><%= twitter_name%><br><a href="https://twitter.com/loadtocode">@<%= twitter_handle %></a></div> </div> - </div> --> + </div> <div class="twitter_list"> - <% twitter_timeline.each do |e| %> + <% tweets.each do |e| %> <div class="tweet"> <div class="tweet_text"><%= " #{e.text}" %> </div> |