Sha256: d1f2ed25a44350c3ad0ed2b333a84ecffc82c2f2927bfbc1416bea4aae0f284e

Contents?: true

Size: 800 Bytes

Versions: 3

Compression:

Stored size: 800 Bytes

Contents

<div class="card--list__item">
  <div class="card--list__text">
    <div>
      <a href="<%= document.url %>" class="card__link" target="_blank">
        <h4 class="card--list__heading heading6">
          <%= attachment_title(document) %> <small><%= document.file_type %> <%= number_to_human_size(document.file_size) %></small>
        </h4>
        <% if document.description.present? %>
            <span class="text-small"><%= translated_attribute(document.description) %></span>
        <% end %>
      </a>
    </div>
  </div>
  <div class="card--list__data">
    <%= link_to document.url, target: "_blank", rel: "noopener", class: "card--list__data__icon", title: t(".download") do %>
        <%= icon "cloud-download", role: "img", aria_label: t(".download") %>
    <% end %>
  </div>
</div>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
decidim-core-0.24.3 app/views/decidim/application/_document.html.erb
decidim-core-0.23.6 app/views/decidim/application/_document.html.erb
decidim-core-0.24.2 app/views/decidim/application/_document.html.erb