diff --git a/app/views/documents/analysis/_processing.html.erb b/app/views/documents/analysis/_processing.html.erb index d47982c5..04bcb12f 100644 --- a/app/views/documents/analysis/_processing.html.erb +++ b/app/views/documents/analysis/_processing.html.erb @@ -94,4 +94,15 @@ - \ No newline at end of file + + +
+ <%= link_to 'Refresh page', analysis_document_path(analysis.document), class: "btn #{Document.color} white-text" %> +
+

+ <% if analysis.progress > 0 %> + Your analysis is currently processing. + <% else %> + Your analysis was queued <%= time_ago_in_words analysis.created_at %> ago. + <% end %> +