<div class="wrapper">
  <div class="show-paper">
    <%= render :partial => "status", :locals => { :paper => @paper } unless @paper.doi? %>
    <%= render :partial => "papers/admin", :locals => { :paper => @paper } if current_user %>

    <div class="columns">
      <% if @paper.doi? %>
      <%= @paper.paper_body.html_safe %>
      <% else %>
      <div class="paper-body"><%= formatted_body(@paper) %></div>
      <div class="one-half column paper-meta">
        <p><strong>Repository Address</strong>: <%= link_to @paper.repository_url, @paper.repository_url %></p>
      </div>
      <div class="one-half column paper-meta">
        <p><strong>Archive DOI</strong>: <%= link_to @paper.archive_doi, @paper.doi_with_url %></p>
      </div>
      <% end %>
    </div>
  </div>
</div>

<div class="wrapper">
  <div class="show-paper">
    <% unless @paper.doi? %>
    <%= render :partial => "status", :locals => { :paper => @paper } %>
    <%= render :partial => "papers/admin", :locals => { :paper => @paper } if current_user %>
    <% end %>
    <div class="columns">
      <% if @paper.doi? %>
      <%= @paper.paper_body.html_safe %>
      <% else %>
      <div class="paper-body"><%= formatted_body(@paper) %></div>
      <div class="one-half column paper-meta">
        <p><strong>Repository Address</strong>: <%= link_to @paper.repository_url, @paper.repository_url %></p>
      </div>
      <div class="one-half column paper-meta">
        <p><strong>Archive DOI</strong>: <%= link_to @paper.archive_doi, @paper.doi_with_url %></p>
      </div>
      <% end %>
    </div>
  </div>
</div>

Hide review issue for accepted papers
Hide review issue for accepted papers
