Sha256: c37915e4b5482092fbcbde5b1209dd2584f691a789e95d90f0d35be37670a499

Contents?: true

Size: 1.98 KB

Versions: 32

Compression:

Stored size: 1.98 KB

Contents

<% 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">
        <p class="media-heading">
          <strong><%= link_to document.title_or_label, [main_app, document], id: "src_copy_link#{id}", class: "#{'document-title' if document.title_or_label == document.label}" %></strong>
          <a href="#" class="small" title="Click for more details"><i id="expand_<%= id %>" class="glyphicon glyphicon-chevron-right"></i></a>
        </p>
        <%= render_collection_links(document) %>
      </div>
    </div>
  </td>
  <td class="text-center"><%= document.date_uploaded %> </td>
  <td class="text-center"></td>
  <td class="text-center">
    <%= render_visibility_link(document) %>
  </td>
  <% if current_user and can? :edit, @collection %>
    <td class="text-center">
      <%= button_for_remove_from_collection @collection, document, label: "Remove", btn_class: "btn-danger btn-xs" %>
    </td>
  <% end %>
</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

32 entries across 32 versions & 1 rubygems

Version Path
hyrax-2.9.6 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.9.5 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.9.4 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.9.3 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.9.2 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.9.1 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.9.0 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.8.0 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.7.2 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.7.1 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.7.0 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.6.0 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.5.1 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.5.0 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.4.1 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-3.0.0.pre.beta1 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.4.0 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.3.3 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.3.2 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb
hyrax-2.3.1 app/views/hyrax/dashboard/collections/_show_document_list_row.html.erb