Sha256: 941643666785d83065cf05f945def9e4634b983a4dc4c3418925d45a8fbadf0e

Contents?: true

Size: 1.31 KB

Versions: 14

Compression:

Stored size: 1.31 KB

Contents

<tr id="document_<%= document.id %>">

  <td>
    <label for="batch_document_<%= document.id %>" class="sr-only"><%= t("hyrax.dashboard.my.sr.batch_checkbox") %></label>
    <%= render 'hyrax/batch_select/add_button', document: document %>&nbsp;
  </td>

  <td>
    <div class='media'>
      <%= link_to [main_app, document], class: 'media-left', 'aria-hidden' => true do %>
        <%= render_thumbnail_tag document, { class: 'hidden-xs file_listing_thumbnail' }, { suppress_link: true } %>
      <% end %>

      <div class='media-body'>
        <div class='media-heading'>

          <%= link_to [main_app, document], id: "src_copy_link#{document.id}", class: 'document-title' do %>
            <span class="sr-only">
              <%= t("hyrax.dashboard.my.sr.show_label") %>
            </span>
            <%= document.title_or_label %>
          <% end %>

          <br />
          <%= render_collection_links(document) %>

        </div>
      </div>
    </div>
  </td>

  <td class="date"><%= document.date_uploaded %></td>
  <td class='text-center'>
    <span class="fa <%= current_user.trophies.where(work_id: document.id).exists? ? 'fa-star highlighted-work' : 'fa-star-o trophy-off' %>"></span></td>
  <td><%= render_visibility_link document %></td>

  <td>
    <%= render 'work_action_menu', document: document %>
  </td>
</tr>

Version data entries

14 entries across 7 versions & 1 rubygems

Version Path
hyrax-2.2.0 app/views/hyrax/my/works/_list_works.html.erb
hyrax-2.2.0 app/views/hyrax/dashboard/collections/_list_works.html.erb
hyrax-2.1.0 app/views/hyrax/dashboard/collections/_list_works.html.erb
hyrax-2.1.0 app/views/hyrax/my/works/_list_works.html.erb
hyrax-2.1.0.rc4 app/views/hyrax/dashboard/collections/_list_works.html.erb
hyrax-2.1.0.rc4 app/views/hyrax/my/works/_list_works.html.erb
hyrax-2.1.0.rc3 app/views/hyrax/dashboard/collections/_list_works.html.erb
hyrax-2.1.0.rc3 app/views/hyrax/my/works/_list_works.html.erb
hyrax-2.1.0.rc2 app/views/hyrax/dashboard/collections/_list_works.html.erb
hyrax-2.1.0.rc2 app/views/hyrax/my/works/_list_works.html.erb
hyrax-2.1.0.rc1 app/views/hyrax/dashboard/collections/_list_works.html.erb
hyrax-2.1.0.rc1 app/views/hyrax/my/works/_list_works.html.erb
hyrax-2.1.0.beta2 app/views/hyrax/my/works/_list_works.html.erb
hyrax-2.1.0.beta2 app/views/hyrax/dashboard/collections/_list_works.html.erb