Sha256: ca4228edcf06737748593fc358067dd2f446e5d02ae62692cec9eaf4f7d35e58

Contents?: true

Size: 1003 Bytes

Versions: 7

Compression:

Stored size: 1003 Bytes

Contents

<span class="author__avatar">
  <%= image_tag model.avatar_url, alt: t("decidim.author.avatar", name: decidim_sanitize(author_name)) %>
</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) %>'>
    <%= decidim_sanitize author_name %>
  </span>

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

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.25.2 app/cells/decidim/author/profile_inline.erb
decidim-core-0.25.1 app/cells/decidim/author/profile_inline.erb
decidim-core-0.25.0 app/cells/decidim/author/profile_inline.erb
decidim-core-0.25.0.rc4 app/cells/decidim/author/profile_inline.erb
decidim-core-0.25.0.rc3 app/cells/decidim/author/profile_inline.erb
decidim-core-0.25.0.rc2 app/cells/decidim/author/profile_inline.erb
decidim-core-0.25.0.rc1 app/cells/decidim/author/profile_inline.erb