Sha256: 2fd5048f7734ba895ce73ded96b1fea73adb25a8df13772c7c37920327bd8172

Contents?: true

Size: 519 Bytes

Versions: 3

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

3 entries across 3 versions & 1 rubygems

Version Path
decidim-core-0.11.2 app/views/decidim/shared/_author.html.erb
decidim-core-0.11.1 app/views/decidim/shared/_author.html.erb
decidim-core-0.11.0.pre1 app/views/decidim/shared/_author.html.erb