implements #2350
This commit is contained in:
@@ -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 %>
|
||||
|
||||
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user