Sha256: 8c995b446fa51d7423791d95706206bf30ae3142961b14fd145d98aba3acd72c

Contents?: true

Size: 930 Bytes

Versions: 1

Compression:

Stored size: 930 Bytes

Contents

<span class="author__avatar">
  <%= image_tag model.avatar_url, alt: t("decidim.author.avatar") %>
</span>

<% if model.deleted? %>
  <span class="label label--small label--basic">
    <%= t("decidim.profile.deleted") %>
  </span>
<% elsif has_tooltip? %>
  <span
    class="author__name m-none"
    data-tooltip
    data-position="top"
    data-show-on="medium"
    data-alignment="center"
    data-click-open="false"
    data-keep-on-hover="true"
    data-allow-html="true"
    data-template-classes="light expanded"
    data-tip-text='<%= h render(:profile_minicard) %>'>
    <%= model.name %>
  </span>

  <% if model.badge.present? %>
    <span class="author__badge">
      <%= icon model.badge %>
    </span>
  <% end %>
<% else %>
  <span class="author__name">
    <%= model.name %>
  </span>

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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
decidim-core-0.22.0 app/cells/decidim/author/profile_inline.erb