Sha256: fe7009d15292f58f0e8bff8564eff9e38603651ab1d823b3c0351b20c1093bbb

Contents?: true

Size: 960 Bytes

Versions: 5

Compression:

Stored size: 960 Bytes

Contents

<div class="download_category category" id="download_category-<%= download_category.id %>">
  <h1 class="downloads_category-name"><%= download_category.name %></h1>

  <% unless download_category.description.blank? %>
    <div class="download_categories-description">
      <p><%= download_category.description %></p>
    </div>
  <% end %>

  <div class="download_category-downloads item_list">

    <% if download_category.ecm_downloads_downloads.published.count == 0 %>
      <p><%= t('ecm.downloads.download_category.messages.no_downloads_available') %></p>
    <% else %>
      <%= render partial: 'ecm/downloads/downloads/table_in_download_category', locals: { downloads: download_category.ecm_downloads_downloads.published } %>
    <% end %>
  </div>

  <%= render partial: 'ecm/downloads/download_categories/table', locals: { download_categories: Ecm::Downloads::DownloadCategoryDecorator.decorate_collection(download_category.descendants) } %>
</div>

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
ecm_downloads2-2.0.3 app/views/ecm/downloads/download_categories/_download_category.html.erb
ecm_downloads2-2.0.2 app/views/ecm/downloads/download_categories/_download_category.html.erb
ecm_downloads2-2.0.0 app/views/ecm/downloads/download_categories/_download_category.html.erb
ecm_downloads2-1.2.2 app/views/ecm/downloads/download_categories/_download_category.html.erb
ecm_downloads2-1.2.1 app/views/ecm/downloads/download_categories/_download_category.html.erb