diff --git a/app/views/submissions/show.html.erb b/app/views/submissions/show.html.erb index 66dda492f..cb27621cf 100644 --- a/app/views/submissions/show.html.erb +++ b/app/views/submissions/show.html.erb @@ -17,41 +17,43 @@ <% end %> <% if last_submitter = @submission.submitters.to_a.select(&:completed_at?).max_by(&:completed_at) %> <% is_all_completed = @submission.submitters.to_a.all?(&:completed_at?) %> -
- - - <%= svg_icon('download', class: 'w-6 h-6') %> - - - - - <% if is_all_completed && !is_combined_enabled %> - - <% end %> -
+ <% if is_all_completed || !is_combined_enabled %> +
+ + + <%= svg_icon('download', class: 'w-6 h-6') %> + + + + + <% if is_all_completed && !is_combined_enabled %> + + <% end %> +
+ <% end %> <% elsif @submission.submitters.to_a.size == 1 && !@submission.expired? && !@submission.submitters.to_a.first.declined_at? %> <%= render 'shared/clipboard_copy', text: submit_form_url(slug: @submission.submitters.to_a.first.slug), class: 'base-button', icon_class: 'w-6 h-6 text-white', copy_title: t('copy_share_link'), copied_title: t('copied_to_clipboard') %> <% end %>