Sha256: 79490e4359805e3fa1aa6720c44c4ab099dec1b19e401cf7a8d0de7c5632db53

Contents?: true

Size: 1.34 KB

Versions: 19

Compression:

Stored size: 1.34 KB

Contents

<% present(user) do |profile_user| %>
  <div class="column">
    <article class="card card--member">
      <div class="card__content">
        <div class="card__header collapse">
          <div class="author-data author-data--big">
            <div class="author-data__main">
              <div class="author author--flex">
                <%= link_to profile_user.profile_path, class: "author__avatar" do %>
                  <%= image_tag profile_user.avatar_url(:thumb) %>
                <% end %>
                <div>
                  <div class="author__name--container">
                    <%= link_to profile_user.name, profile_user.profile_path, class: "author__name" %>
                    <% if profile_user.badge.present? %>
                      <%= icon profile_user.badge, class: "author__verified" %>
                    <% end %>
                  </div>
                  <%= link_to profile_user.nickname, profile_user.profile_path, class: "author__nickname" %>
                </div>
              </div>
            </div>
          </div>
        </div>
        <div class="card__text card--picture-offset">
          <p><%= html_truncate profile_user.about.to_s, length: 80 %></p>
          <%= render partial: "decidim/shared/follow_button.html", locals: { followable: user } %>
        </div>
      </div>
    </article>
  </div>
<% end %>

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
decidim-core-0.21.0 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.20.1 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.20.0 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.19.1 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.18.1 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.19.0 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.17.2 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.18.0 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.17.1 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.16.1 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.17.0 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.16.0 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.15.2 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.15.1 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.15.0 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.14.4 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.14.3 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.14.2 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.14.1 app/views/decidim/profiles/_user_follow.erb