From da000a6d6334f79dad8a77fc19e3618b27ece12a Mon Sep 17 00:00:00 2001 From: ToksT Date: Wed, 27 Mar 2013 13:57:11 -0300 Subject: [PATCH] fixes #1116 --- app/views/uploads/show.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/uploads/show.html.erb b/app/views/uploads/show.html.erb index e2b6c5045..51a81550c 100644 --- a/app/views/uploads/show.html.erb +++ b/app/views/uploads/show.html.erb @@ -13,7 +13,7 @@ <% elsif @upload.is_processing? %>

This upload is being processed. Please wait a few seconds.

<% elsif @upload.is_duplicate? %> -

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

+

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

<% else %>

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