From 9280c5f9eeb60b136a5460cd82d11959f85fedfd Mon Sep 17 00:00:00 2001 From: Andrew Brown Date: Wed, 25 Mar 2020 21:05:08 -0500 Subject: [PATCH] add formatted document view link --- app/views/layouts/_document_navbar.html.erb | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/app/views/layouts/_document_navbar.html.erb b/app/views/layouts/_document_navbar.html.erb index 16dae4b9..27379059 100644 --- a/app/views/layouts/_document_navbar.html.erb +++ b/app/views/layouts/_document_navbar.html.erb @@ -59,6 +59,12 @@ <% end %>
  • +
  • + <%= link_to @document, target: '_blank' do %> + <%= Document.icon %> + View formatted document + <% end %> +
  • <%= link_to analysis_document_path(@document) do %> bar_chart @@ -67,7 +73,7 @@
  • <%= link_to '#', class: 'modal-trigger', data: { target: 'document-notes-modal' } do %> - <%= Document.icon %> + edit Open document notes <% end %>