This commit is contained in:
r888888888
2015-02-20 20:04:23 -08:00
parent b93cda01b8
commit f12fb40e3e
9 changed files with 37 additions and 4 deletions

View File

@@ -1,8 +1,13 @@
<% if params[:url] %>
<%= image_tag(@normalized_url, :title => "Preview", :id => "image") %>
<% if params[:ref] %>
<p><strong>Referrer: </strong> <%= params[:ref] %></p>
<% end %>
<% if @remote_size %>
<p><strong>Size:</strong> <%= number_to_human_size(@remote_size) %></p>
<% end %>
<p id="scale"></p>
<% end %>

View File

@@ -2,5 +2,7 @@
- post
-->
<% if post %>
<h2 style="margin-bottom: 1em;">This post was probably already uploaded (<%= link_to "post ##{post.id}", post_path(post), :target => "_blank" %>)</h2>
<h2 style="margin-bottom: 1em;">
This post was probably already uploaded (<%= link_to "post ##{post.id}", post_path(post), :target => "_blank" %>)
</h2>
<% end %>