Sha256: 713b80cd9ea3f8a61ab1290b89c6e17c68797f709166e56c7d204b5f98f806c5

Contents?: true

Size: 1.33 KB

Versions: 7

Compression:

Stored size: 1.33 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

7 entries across 7 versions & 1 rubygems

Version Path
decidim-core-0.13.1 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.12.2 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.13.0 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.12.1 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.13.0.pre1 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.12.0 app/views/decidim/profiles/_user_follow.erb
decidim-core-0.12.0.pre app/views/decidim/profiles/_user_follow.erb