Sha256: 0c6772025cea140a1aede504acdb572696437a94a915d37794bed341bbccc916
Contents?: true
Size: 1.45 KB
Versions: 29
Compression:
Stored size: 1.45 KB
Contents
<div class="mu-user-header"> <h1><%= t(:my_profile) %></h1> <div class="mu-profile-actions d-none d-md-block"> <%= edit_profile_button %> </div> </div> <div class="mu-profile-info"> <div class="mu-profile-info-left"> <%= profile_picture_for(@user, id: 'mu-user-avatar', class: 'mu-user-avatar') %> <% if in_gamified_context? %> <svg class="mu-level-progress" width="300" height="300" viewBox="0 0 100 100"> <path id="mu-level-progress" stroke-linecap="round" stroke="#24b8aa" stroke-width="4" stroke-dasharray="0, 999" fill="none" d="M50 10 a 40 40 0 0 1 0 80 a 40 40 0 0 1 0 -80"></path> </svg> <div class="mu-level"> <i class="fas fa-star fa-fw fa-4x"></i> <span class="mu-level-number"></span> <p><%= t :level %></p> </div> <% end %> </div> <div class="mu-profile-info-right"> <div> <span> <strong><%= t :name %>:</strong> <%= "#{@user.name}" %> </span> </div> <% if @user.age.present? %> <div> <span> <strong><%= t :age %>:</strong> <%= "#{@user.age} #{t :years}" %> </span> </div> <% end %> <div> <span> <strong><%= t :email %>:</strong> <%= @user.email %> </span> </div> <div> <span> <strong><%= t :programming_since %>:</strong> <%= t(:time_since, time: time_ago_in_words(@user.created_at)) %> </span> </div> </div> </div> <div class="mu-profile-actions mobile d-block d-md-none"> <%= edit_profile_button %> </div>
Version data entries
29 entries across 29 versions & 1 rubygems