Sha256: db5af0050a2f00da57689349f19228945cd7946220bea6a318d37f40f46d939a

Contents?: true

Size: 1.12 KB

Versions: 15

Compression:

Stored size: 1.12 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 initiative.author_avatar_url, alt: t("avatar", scope: "activemodel.attributes.group") %>
      </span>
      <span class="author__name">
        <% if initiative.author.deleted? %>
          <span class="label label--small label--basic">
            <%= t(".deleted") %>
          </span>
        <% else %>
          <%= 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 m.user.avatar_url %>
          </span>
          <span class="author__name">
            <%= m.user.name %>
          </span>
        </div>
      <% end %>
    <% end %>

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

Version data entries

15 entries across 15 versions & 1 rubygems

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