Sha256: d06d190666f0e1f354fc72b15b296baed71317688498737f1b0fb893b0c1589e

Contents?: true

Size: 1.96 KB

Versions: 12

Compression:

Stored size: 1.96 KB

Contents

<% document = show_document_list_row %>
<% id = document.id %>
<tr id="document_<%= id %>">
  <td>&nbsp;
    <% if current_user and document.depositor != current_user.user_key %>
      <i class="glyphicon glyphicon-share-alt"/>
    <% end %>
  </td>
  <td>
    <div class="media">
      <%= link_to [main_app, document], class: "media-left" do %>
        <%= render_thumbnail_tag document, { class: "hidden-xs file_listing_thumbnail" }, { suppress_link: true } %>
      <% end %>
      <div class="media-body">
        <h4 class="media-heading">
          <%= link_to document.title_or_label, [main_app, document], id: "src_copy_link#{id}", class: "#{'document-title' if document.title_or_label == document.label}" %>
          <a href="#" class="small" title="Click for more details"><i id="expand_<%= id %>" class="glyphicon glyphicon-chevron-right"></i></a>
        </h4>
        <%= render_collection_links(document) %>
      </div>
    </div>
  </td>
  <td class="text-center date"><%= document.date_uploaded %> </td>
  <td class="text-center">
    <%= render_visibility_link(document) %>
  </td>
  <td class="text-center">
    <%= document.workflow_state %>
  </td>
  <td class="text-center">
    <%= render 'hyrax/dashboard/collections/show_document_list_menu', document: document %>
  </td>
</tr>
<tr id="detail_<%= id %>"> <!--  document detail"> -->
  <td colspan="6">
    <dl class="expanded-details row">
      <dt class="col-xs-3 col-lg-2">Creator:</dt>
      <dd class="col-xs-9 col-lg-4"><%= document.creator.to_a.to_sentence %></dd>
      <dt class="col-xs-3 col-lg-2">Depositor:</dt>
      <dd class="col-xs-9 col-lg-4"><%= link_to_profile document.depositor %></dd>
      <dt class="col-xs-3 col-lg-2">Edit Access:</dt>
      <dd class="col-xs-9 col-lg-10">
        <% if document.edit_groups.present? %>
          Groups: <%= document.edit_groups.join(', ') %>
          <br/>
        <% end %>
        Users: <%= document.edit_people.join(', ') %>
      </dd>
    </dl>
  </td>
</tr>

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
hyrax-2.0.3 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb
hyrax-2.0.2 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb
hyrax-2.0.1 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb
hyrax-2.0.0 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb
hyrax-2.0.0.rc3 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb
hyrax-2.0.0.rc2 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb
hyrax-2.0.0.rc1 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb
hyrax-2.0.0.beta5 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb
hyrax-2.0.0.beta4 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb
hyrax-2.0.0.beta3 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb
hyrax-2.0.0.beta2 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb
hyrax-2.0.0.beta1 app/views/hyrax/admin/admin_sets/_show_document_list_row.html.erb