Sha256: 2486f7e13a29eed7894a024cb0b15333fbc01b50a8adfdabee856dd4cac36f4b

Contents?: true

Size: 1.44 KB

Versions: 5

Compression:

Stored size: 1.44 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' do %>
        <%= render_thumbnail_tag document, { class: 'hidden-xs file_listing_thumbnail', alt: "#{document.title_or_label} #{t('hyrax.homepage.admin_sets.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 text-center"><%= document.date_modified %></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' %>" aria-hidden="true"></span></td>
  <td class='text-center'><%= render_visibility_link document %></td>

  <td class='text-center'>
    <%= render 'work_action_menu', document: document %>
  </td>
</tr>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
hyrax-3.6.0 app/views/hyrax/my/works/_list_works.html.erb
hyrax-3.5.0 app/views/hyrax/my/works/_list_works.html.erb
hyrax-3.4.2 app/views/hyrax/my/works/_list_works.html.erb
hyrax-3.4.1 app/views/hyrax/my/works/_list_works.html.erb
hyrax-3.4.0 app/views/hyrax/my/works/_list_works.html.erb