Sha256: 6aba34f6763258f96702d67ed81e6e9cc2373f5fc1c59a94cd4e4cf21c73966f

Contents?: true

Size: 725 Bytes

Versions: 9

Compression:

Stored size: 725 Bytes

Contents

<% data = has_tooltip? ? { tooltip: render(:profile_minicard).html_safe } : nil %>
<span class="author" data-author>
  <%= content_tag :span, class: "author__container#{" is-compact" if layout == :compact}", data: do %>
    <% if layout == :compact %>
      <%= render :avatar %>

      <span>
        <%= render :name %>

        <% context_actions.each do |action| %>
          <%= render action %>
        <% end %>
      </span>
    <% elsif layout == :avatar %>
      <%= render :avatar %>
    <% else %>
      <%= render :avatar %>
      <%= render :name %>
    <% end %>
  <% end %>

  <% if layout == :default %>
    <% context_actions.each do |action| %>
      <%= render action %>
    <% end %>
  <% end %>
</span>

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
decidim-core-0.29.1 app/cells/decidim/author/show.erb
decidim-core-0.28.4 app/cells/decidim/author/show.erb
decidim-core-0.29.0 app/cells/decidim/author/show.erb
decidim-core-0.28.3 app/cells/decidim/author/show.erb
decidim-core-0.29.0.rc4 app/cells/decidim/author/show.erb
decidim-core-0.29.0.rc3 app/cells/decidim/author/show.erb
decidim-core-0.29.0.rc2 app/cells/decidim/author/show.erb
decidim-core-0.29.0.rc1 app/cells/decidim/author/show.erb
decidim-core-0.28.2 app/cells/decidim/author/show.erb