diff --git a/app/views/documents/_document.html.erb b/app/views/documents/_document.html.erb index 4ebbfdf..0ce1ab5 100644 --- a/app/views/documents/_document.html.erb +++ b/app/views/documents/_document.html.erb @@ -39,16 +39,22 @@ <% end %> -
<%= render partial: 'shared/meta_info', locals: { email: document.user.email, created_at: document.created_at, updated_at: document.updated_at } %> <%= "| Synced #{time_ago_in_words(document.synced_at)} ago" if document.synced_at.present? %>
+ <% if document.url %> +