summaryrefslogtreecommitdiff
path: root/app/views/twitter/_index.html.erb
blob: 3dab567eb7ca8606ffde693ffd80e363882a6f29 (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
  <div class="twitter">
      <div class="twitter_header">
        Tweets by <%= twitter_name %></p>
      </div>
      <div class="twitter_list">
        <% tweets.each do |e| %>
          <div class="tweet">
              <div class="tweet_pic twitter_image_frame"><%= image_tag("team-loadtocode-Loading_icon.gif") %></div>
            <div class="tweet_name">
              @<%= twitter_handle %>
            </div>
            <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>