Sha256: 30b6caed79f419884cb9482cc108d455bf5771abbe0ea4161836d3c01aea62ff

Contents?: true

Size: 1.32 KB

Versions: 15

Compression:

Stored size: 1.32 KB

Contents

<div class="card card--full card--process">
  <div class="row collapse card--process__row">
    <div class="columns mediumlarge-8 large-6 card--process__column">
      <div class="card__content">
        <%= link_to assembly_path(promoted_assembly), class: "card__link" do %>
          <h2 class="card__title"><%= translated_attribute promoted_assembly.title %></h2>
        <% end %>
        <%= decidim_sanitize html_truncate(translated_attribute(promoted_assembly.short_description), length: 630, separator: "...") %>
        <%= link_to assembly_path(promoted_assembly), class: "button small hollow card__button" do %>
          <%= t("assemblies.promoted_assembly.more_info", scope: "layouts.decidim") %>
        <% end %>
      </div>
    </div>
    <div class="columns mediumlarge-8 large-6 card--process__column">
      <div class="card--full__image"
           style="background-image:url(<%= promoted_assembly.hero_image.url %>)">
        <div class="card__content row collapse">
          <div class="large-6 large-offset-6 columns">
            <%= link_to assembly_path(promoted_assembly), class: "button expanded button--sc" do %>
              <%= t(promoted_assembly.cta_button_text_key, scope: "layouts.decidim.assemblies.promoted_assembly") %>
            <% end %>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
decidim-assemblies-0.24.3 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.23.6 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.24.2 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.23.5 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.24.1 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.24.0 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.24.0.rc2 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.23.4 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.24.0.rc1 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.23.3 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.23.2 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.23.1 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.23.1.rc1 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.23.0 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb
decidim-assemblies-0.22.0 app/views/decidim/assemblies/assemblies/_promoted_assembly.html.erb