Sha256: 909e57886703c96184f14ded920ac32a756c90491f18b605ccde4f68bfda8edb

Contents?: true

Size: 1.05 KB

Versions: 19

Compression:

Stored size: 1.05 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 %>
      </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.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

19 entries across 19 versions & 1 rubygems

Version Path
decidim-initiatives-0.16.1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.16.0 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.15.2 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.15.1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.15.0 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.14.4 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.14.3 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.14.2 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.14.1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.13.1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.12.2 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.13.0 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.12.1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.13.0.pre1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.12.0 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.11.2 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.12.0.pre app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.11.1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.11.0.pre1 app/views/decidim/initiatives/initiatives/_author.html.erb