diff --git a/app/views/icons/_external_link.html.erb b/app/views/icons/_external_link.html.erb new file mode 100644 index 00000000..fa897338 --- /dev/null +++ b/app/views/icons/_external_link.html.erb @@ -0,0 +1,6 @@ + + + + + + diff --git a/app/views/submissions/show.html.erb b/app/views/submissions/show.html.erb index b1fbc301..e13283f2 100644 --- a/app/views/submissions/show.html.erb +++ b/app/views/submissions/show.html.erb @@ -5,6 +5,12 @@ <%= @submission.template.name %>
+ <% if @submission.audit_trail.present? %> + + <%= svg_icon('external_link', class: 'w-6 h-6') %> + Audit Log + + <% end %> <% if last_submitter = @submission.submitters.to_a.select(&:completed_at?).max_by(&:completed_at) %>