# HG changeset patch
# User nanaya
+ Retweeted:
+
- <% tweet.media.each do |media| %>
- <% if media.is_a? Twitter::Media::Photo %>
- <%= link_to "#{media.media_url_https}:orig" do %>
- <%= image_tag "#{media.media_url_https}:small" -%>
+ <%= render "tweet", :tweet => tweet.retweeted_status %>
+<% else%>
+
+ <%= link_to "https://twitter.com/#{tweet.user.screen_name}" do %>
+ <%= image_tag tweet.user.profile_image_url_https %>
+ <%= tweet.user.name -%>
+ <% end %>
+
+ /
+
+ <%= auto_link(tweet.text).html_safe %>
+
+ <% tweet.media.each do |media| %>
+ <% if media.is_a? Twitter::Media::Photo %>
+ <%= link_to "#{media.media_url_https}:orig" do %>
+ <%= image_tag "#{media.media_url_https}:small" -%>
+ <% end %>
<% end %>
<% end %>
- <% end %>
-
- <%= render "tweet", :tweet => tweet.quoted_status %> -+ <% if tweet.quoted_status.present? %> +
+ <%= render "tweet", :tweet => tweet.quoted_status %> ++ <% end %> <% end %>