Sha256: d9d86e46edf29cf373bdd19c31dbd96ca5d57da710fd8f5091c7ba7e7d9b3acf

Contents?: true

Size: 471 Bytes

Versions: 9

Compression:

Stored size: 471 Bytes

Contents

<div class="row column">
  <%= content_tag :div, class: "callout announcement mb-sm #{callout_class} cell-announcement" do %>
    <% if announcement.class == Hash && announcement.key?(:title) %>
      <span><%= decidim_sanitize translated_attribute announcement[:title] %></span>

      <p><%= decidim_sanitize translated_attribute announcement[:body] %></p>
    <% else %>
      <%= decidim_sanitize translated_attribute announcement %>
    <% end %>
  <% end %>
</div>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-core-0.23.6 app/cells/decidim/announcement/show.erb
decidim-core-0.23.5 app/cells/decidim/announcement/show.erb
decidim-core-0.23.4 app/cells/decidim/announcement/show.erb
decidim-core-0.23.3 app/cells/decidim/announcement/show.erb
decidim-core-0.23.2 app/cells/decidim/announcement/show.erb
decidim-core-0.23.1 app/cells/decidim/announcement/show.erb
decidim-core-0.23.1.rc1 app/cells/decidim/announcement/show.erb
decidim-core-0.23.0 app/cells/decidim/announcement/show.erb
decidim-core-0.22.0 app/cells/decidim/announcement/show.erb