From 3ba0cb3d2e8f2861fcd28a790a4e36b554aa4b96 Mon Sep 17 00:00:00 2001 From: r888888888 Date: Thu, 13 Jun 2013 13:31:24 -0700 Subject: [PATCH] fixes #1069 --- app/views/uploads/show.html.erb | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app/views/uploads/show.html.erb b/app/views/uploads/show.html.erb index e45c147b7..9d5ce9528 100644 --- a/app/views/uploads/show.html.erb +++ b/app/views/uploads/show.html.erb @@ -15,7 +15,12 @@ <% elsif @upload.is_duplicate? %>

This upload is a duplicate: <%= link_to "post ##{@upload.duplicate_post_id}", post_path(@upload.duplicate_post_id) %>

<% else %> -

An error occurred: <%= @upload.status %>

+

+ An error occurred: <%= @upload.status %>. + <% if @upload.is_downloadable? %> + <%= link_to "Retry", upload_path(@upload), :method => :put %> + <% end %> +

<% end %>