Sha256: ee5d23e0b55c55c7b568b5f529278ad6e668f14c4d46cc2b4a25d59b02396f35

Contents?: true

Size: 1.2 KB

Versions: 13

Compression:

Stored size: 1.2 KB

Contents

<div class="author-data initiative-authors">
  <div class="author-data__main ">
    <div class="author author--inline">
      <span class="author__avatar author__avatar--small">
        <%= image_tag present(initiative.author).avatar_url, alt: t("decidim.author.avatar", name: decidim_sanitize(initiative.author_name)) %>
      </span>
      <span class="author__name">
        <% if initiative.author.deleted? %>
          <span class="label label--small label--basic">
            <%= t(".deleted") %>
          </span>
        <% else %>
          <%= decidim_sanitize(initiative.author_name) %>
        <% end %>
      </span>
    </div>

    <% initiative.committee_members.excluding_author.approved.each do |m| %>
      <% unless m.user.deleted? %>
        <div class="author author--inline">
          <span class="author__avatar author__avatar--small">
            <%= image_tag present(m.user).avatar_url %>
          </span>
          <span class="author__name">
            <%= decidim_sanitize(m.user.name) %>
          </span>
        </div>
      <% end %>
    <% end %>

    <div class="publish-date">
      <%= l initiative.published_at || initiative.created_at, format: :decidim_short %>
    </div>
  </div>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
decidim-initiatives-0.27.9 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.27.8 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.27.7 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.27.6 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.10 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.9 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.27.5 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.8 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.27.4 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.27.3 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.7 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.5 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.27.2 app/views/decidim/initiatives/initiatives/_author.html.erb