Sha256: 4d72ebf7b1f8ed8464e8995d369ce8b769db5b5a731baebbe72ecc24c96ad3f4

Contents?: true

Size: 467 Bytes

Versions: 26

Compression:

Stored size: 467 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) %>
      <h5><%= decidim_sanitize translated_attribute announcement[:title] %></h5>

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

Version data entries

26 entries across 26 versions & 1 rubygems

Version Path
decidim-core-0.21.0 app/cells/decidim/announcement/show.erb
decidim-core-0.20.1 app/cells/decidim/announcement/show.erb
decidim-core-0.20.0 app/cells/decidim/announcement/show.erb
decidim-core-0.19.1 app/cells/decidim/announcement/show.erb
decidim-core-0.18.1 app/cells/decidim/announcement/show.erb
decidim-core-0.19.0 app/cells/decidim/announcement/show.erb
decidim-core-0.17.2 app/cells/decidim/announcement/show.erb
decidim-core-0.18.0 app/cells/decidim/announcement/show.erb
decidim-core-0.17.1 app/cells/decidim/announcement/show.erb
decidim-core-0.16.1 app/cells/decidim/announcement/show.erb
decidim-core-0.17.0 app/cells/decidim/announcement/show.erb
decidim-core-0.16.0 app/cells/decidim/announcement/show.erb
decidim-core-0.15.2 app/cells/decidim/announcement/show.erb
decidim-core-0.15.1 app/cells/decidim/announcement/show.erb
decidim-core-0.15.0 app/cells/decidim/announcement/show.erb
decidim-core-0.14.4 app/cells/decidim/announcement/show.erb
decidim-core-0.14.3 app/cells/decidim/announcement/show.erb
decidim-core-0.14.2 app/cells/decidim/announcement/show.erb
decidim-core-0.14.1 app/cells/decidim/announcement/show.erb
decidim-core-0.13.1 app/cells/decidim/announcement/show.erb