summaryrefslogtreecommitdiff
path: root/app/views/twitter
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/twitter')
-rw-r--r--app/views/twitter/_index.html.erb22
1 files changed, 15 insertions, 7 deletions
diff --git a/app/views/twitter/_index.html.erb b/app/views/twitter/_index.html.erb
index 8ac65be..eba9675 100644
--- a/app/views/twitter/_index.html.erb
+++ b/app/views/twitter/_index.html.erb
@@ -1,26 +1,34 @@
<% if twitter_enabled == true %>
<div class="twitter">
+
<div class="twitter_header">
- Tweets by <%= twitter_name %></p>
+ Tweets by </br><%= twitter_name %></p>
</div>
+
<div class="twitter_list">
<% tweets.each do |e| %>
<div class="tweet">
+
+ <div class="tweet_title">
<div class="tweet_pic twitter_image_frame"><%= image_tag("team-loadtocode-Loading_icon.gif") %></div>
- <div class="tweet_name">
- @<%= twitter_handle %>
+ <div class="tweet_name">
+ @<%= twitter_handle %>
+ </div>
</div>
- <div class="tweet_text">
- <%= " #{e.text}" %>
+
+ <div class="tweet_text"><%= " #{e.text}" %>
</div>
- <div class="tweet_text_date">
- tweeted on <% t = e.created_at%> <%= t.strftime("%m/%d/%y").to_s %>
+
+ <div class="tweet_text_date">tweeted on <% t = e.created_at%> <%= t.strftime("%m/%d/%y").to_s %>
</div>
+
</div>
<% end %>
</div>
+
<div class="twitter_footer">
To prevent leakage no links are displayed. For more information visit @<%= twitter_name %> on twitter.com.</p>
</div>
+
</div>
<% end %>