Sha256: 0ae03b30fdfd0a82b6236cdaa0d7180d866af402dedc1fe151574f884457a99b

Contents?: true

Size: 519 Bytes

Versions: 6

Compression:

Stored size: 519 Bytes

Contents

<span class="author__avatar author__avatar--small">
  <%= image_tag author.avatar_url %>
</span>

<% if author.deleted? %>
  <span class="label label--small label--basic">
    <%= t('.deleted') %>
  </span>
<% else %>
  <span class="author__name"><%= author.name %></span>

  <% if author.badge.present? %>
    <span class="author__badge">
      <%= icon author.badge %>
    </span>
  <% end %>

  <% if author.nickname.present? %>
    <span class="author__nickname"><%= author.nickname %></span>
  <% end %>
<% end %>

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
decidim-core-0.10.1 app/views/decidim/shared/_author.html.erb
decidim-core-0.10.0 app/views/decidim/shared/_author.html.erb
decidim-core-0.9.3 app/views/decidim/shared/_author.html.erb
decidim-core-0.9.2 app/views/decidim/shared/_author.html.erb
decidim-core-0.9.1 app/views/decidim/shared/_author.html.erb
decidim-core-0.9.0 app/views/decidim/shared/_author.html.erb