Sha256: 0bfa5d427921b64eae120aded90f109a78180033ec923f8a0d0a7e5bcaad4e50
Contents?: true
Size: 1.95 KB
Versions: 9
Compression:
Stored size: 1.95 KB
Contents
<% add_decidim_page_title(user.nickname) %> <main class="wrapper"> <% present(user) do |profile_user| %> <div class="user-header row collapse"> <div class="columns"> <div class="user-header__main"> <div class="user-header__avatar"> <%= image_tag profile_user.avatar_url(:big) %> </div> <h1 class="heading1 user-header__heading"> <strong><%= profile_user.name %></strong> <div class="user-nickname"> <%= profile_user.nickname %> <% if !current_user || (current_user && current_user != user) %> <span class="user-contact_link"> <%= link_to_current_or_new_conversation_with(user) %> </span> <% end %> </div> <% if current_user && current_user != user %> <%= render partial: "decidim/shared/follow_button", locals: { followable: user } %> <% end %> </h1> </div> </div> </div> <% if profile_user.about.present? %> <div class="row"> <strong><%= t(".about_me") %></strong> <p><%= profile_user.about %></p> </div> <% end %> <% if profile_user.personal_url.present? %> <div class="row"> <strong><%= t(".personal_url") %></strong> <p><%= link_to profile_user.personal_url, profile_user.personal_url %></p> </div> <% end %> <% if profile_user.officialized? %> <div class="row"> <div class="mediumlarge-6 large-6"> <div class="card"> <div class="badge-card__content"> <span> <%= icon "verified-badge" %> </span> <span> <%= translated_attribute(profile_user.officialized_as).presence || t("decidim.profiles.default_officialization_text") %> </span> </div> </div> </div> </div> <% end %> <% end %> </main>
Version data entries
9 entries across 9 versions & 1 rubygems