This commit is contained in:
r888888888
2013-06-13 13:31:24 -07:00
parent b4ffd10357
commit 3ba0cb3d2e

View File

@@ -15,7 +15,12 @@
<% elsif @upload.is_duplicate? %>
<p>This upload is a duplicate: <%= link_to "post ##{@upload.duplicate_post_id}", post_path(@upload.duplicate_post_id) %></p>
<% else %>
<p>An error occurred: <%= @upload.status %></p>
<p>
An error occurred: <%= @upload.status %>.
<% if @upload.is_downloadable? %>
<%= link_to "Retry", upload_path(@upload), :method => :put %>
<% end %>
</p>
<% end %>
<p>