Sha256: 1fad9120b2ffde0ec71e8e3d42071d380627b3d706d460570efb33d8c8e8b0af
Contents?: true
Size: 1.12 KB
Versions: 5
Compression:
Stored size: 1.12 KB
Contents
<li> <% if download.download.attachment_content_type == 'pdf' %> <span> <%= link_to preview_download_path(id: download, slug: resource.slug), class: 'resource-attachment', data: { no_turbolink: true, heap_data: download_heap_data(download, pdf_preview: true) }, target: '_blank' do %> <i class="ub-icon ub-eye" aria-hidden="true"></i> <% end %> </span> <% end %> <% id = SecureRandom.hex(4) %> <span data-toggle="<%= id %>"> <%= link_to download_path(download, slug: resource.slug), class: 'resource-attachment', data: { no_turbolink: true, heap_data: download_heap_data(download) } do %> <i class="ub-icon fa-lg file-<%= "#{file_icon(download.download.attachment_content_type)} #{indent}" %>"></i> <%= download.download.title %> <% end %> </span> <% if (description = download.description).present? %> <span class="dropdown-pane o-ld-dropdown" data-dropdown data-hover="true" data-hover-delay="0" data-hover-pane="true" data-v-offset="12" id="<%= id %>"> <%= description %> </span> <% end %> </li>
Version data entries
5 entries across 5 versions & 1 rubygems