Sha256: e249780c05d7276ac98476a17f192bbf8029f3104245bf4f72b4bd12e1b52a29

Contents?: true

Size: 1.72 KB

Versions: 2

Compression:

Stored size: 1.72 KB

Contents

<% id = document.id %>
<tr id="document_<%= id %>">
  <td width="3%"></td>
  <td width="41%">
    <div class="media">
      <%= link_to document, class: "pull-left", "aria-hidden" => true do %>
          <span class="fa fa-cubes collection-icon-small"></span>
      <% end %>
      <div class="media-body">
        <div class="media-heading">
          <%= link_to collection_path(id), id: "src_copy_link#{id}" do %>
              <span class="sr-only"><%= t("sufia.dashboard.my.sr.show_label") %> </span>
              <%= document.title_or_label %>
          <% end %>
          <a href="#" class="small" title="Click for more details">
            <i id="expand_<%= id %>" class="glyphicon glyphicon-chevron-right" aria-hidden="true"></i>
            <span class="sr-only"> <%= "#{t("sufia.dashboard.my.sr.detail_label")} #{document.title_or_label}" %></span>
          </a>
        </div>
      </div>
    </div>
  </td>
  <td width="17%" class="text-center"><%= document.create_date %> </td>
  <td width="5%" class="text-center visibility-link">
    <%= render_visibility_label(document) %>
  </td>
  <td class="text-center">
    <%= render 'collection_action_menu', id: id %>
   </td>
</tr>
<tr id="detail_<%= id %>"> <!--  collection detail"> -->
  <td colspan="6">
    <dl class="expanded-details row">
      <dt class="col-xs-3 col-lg-2">Description:</dt>
      <dd class="col-xs-9 col-lg-10"> <%= document.description%></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

2 entries across 2 versions & 1 rubygems

Version Path
sufia-7.0.0.beta2 app/views/my/_index_partials/_list_collections.html.erb
sufia-7.0.0.beta1 app/views/my/_index_partials/_list_collections.html.erb