blob: 2d17aad11dde096820ed4820eb28cef133bf007f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<% if twitter_enabled == true %>
<div class="twitter">
<div class="twitter_header">
<p>These are the most recent tweets by </br><%= twitter_name%></p>
<div class="twitter_id">
<div class="twitter_pic twitter_image_frame"><%= image_tag("rails.png") %></div>
<div class="twitter_name"><a href="https://twitter.com/loadtocode">@<%= twitter_handle %></a></div>
</div>
</div>
<div class="twitter_list">
<% tweets.each do |e| %>
<div class="tweet">
<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>
</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 %>
|