<div id="exports_panel" class="panel panel-default">
  <div class="panel-heading">
    <div class="panel-title">
      <%= Export.model_name.human(count: @document.exports.count) %>
      <% if @document.released_for_delivery? %>
        <span class="pull-right">
          <%= link_to 'Neu', new_document_exports_path(@document) %>
        </span>
      <% end %>
    </div>
  </div>

  <% if @document.exports.empty? %>
    <div class="panel-body">
      <p>
        ...nicht vorhanden.
      </p>
    </div>
  <% else %>
    <ul id="exports" class="list-group">
      <% @document.exports.each do |export| %>
        <li class="list-group-item <%= "disabled" unless export.destination.exist? %>">
          <p class="list-group-item-heading">
            <strong>
              <%= export.filename %>
            </strong>
          </p>
          <p class="list-group-item-text">
            Exportiert am <%= l export.created_at %> an <%= export.directory.description %>
          </p>
        </li>
      <% end %>
    </ul>
  <% end %>
</div>

<div id="exports_panel" class="panel panel-default">
  <div class="panel-heading">
    <div class="panel-title">
      <%= Export.model_name.human(count: @document.exports.count) %>
      <% if @document.released_for_delivery? %>
        <span class="pull-right">
          <%= link_to 'Neu', new_document_exports_path(@document) %>
        </span>
      <% end %>
    </div>
  </div>

  <% if @document.exports.empty? %>
    <div class="panel-body">
      <p>
        ...nicht vorhanden.
      </p>
    </div>
  <% else %>
    <ul id="exports" class="list-group">
      <% @document.exports.each do |export| %>
        <li class="list-group-item <%= "disabled" if export.deleted? %>">
          <p class="list-group-item-heading">
            <strong>
              <%= export.filename %>
            </strong>
          </p>
          <p class="list-group-item-text">
            <% if export.deleted? %>
              Gelöscht am <%= l export.deleted_at %>
            <% else %>
              Exportiert am <%= l export.created_at %> an <%= export.directory.description %>
            <% end %>
          </p>
        </li>
      <% end %>
    </ul>
  <% end %>
</div>

Revert "Show file presence for each export."
Revert "Show file presence for each export."

This reverts commit 8a6454ef363bbe4184eef82e4447c91aa63a8667.
