Sha256: e238afa64dbd3d194e1524ea0fa3dec2c845e8d2681152240bd7d1a2c95131e7

Contents?: true

Size: 1.1 KB

Versions: 13

Compression:

Stored size: 1.1 KB

Contents

<div class="author__tooltip bottom" role="tooltip">
  <div class="author__container">
    <%= render :avatar %>

    <div>
      <%= render :name %>
      <span class="text-md"><%= model.nickname %></span>
    </div>
  </div>

  <div class="author__tooltip-links">
    <%= link_to decidim.profile_followers_path(raw_model.nickname) do %>
      <%= content_tag(:span, model.followers_count, id: dom_id(raw_model, :followers_count)) %> <%= t("decidim.profiles.show.followers") %>
    <% end %>
    <% if model.can_follow? %>
      <%= link_to decidim.profile_following_path(raw_model.nickname) do %>
        <%= model.following_count %> <%= t("decidim.profiles.show.following") %>
      <% end %>
    <% end %>
  </div>

  <% if model.direct_messages_enabled?(context) %>
    <%= link_to current_or_new_conversation_path_with(model), class: "button button__sm button__transparent" do %>
      <span><%= t("decidim.profiles.show.send_private_message") %></span>
      <%= icon "mail-send-line" %>
    <% end %>
  <% end %>

  <%= follow_button_for(raw_model, false, button_classes: "button button__sm button__transparent") %>
</div>

Version data entries

13 entries across 13 versions & 1 rubygems

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