Sha256: 8abb3749b95312b13b7290cdc11b4ce4f72d9394ae8dd13a18e972330b7ed6a9

Contents?: true

Size: 1.2 KB

Versions: 18

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: "%d/%m/%Y" %>
    </div>
  </div>
</div>

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
decidim-initiatives-0.27.1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.4 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.27.0 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.3 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.27.0.rc2 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.27.0.rc1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.2 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.0 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.0.rc2 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.26.0.rc1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.25.2 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.25.1 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.25.0 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.25.0.rc4 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.25.0.rc3 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.25.0.rc2 app/views/decidim/initiatives/initiatives/_author.html.erb
decidim-initiatives-0.25.0.rc1 app/views/decidim/initiatives/initiatives/_author.html.erb