Sha256: 84e461a1dc07ca68d06a5baa00a1896a1029676f54d086d8c1a401dc3a4993c8
Contents?: true
Size: 1.43 KB
Versions: 10
Compression:
Stored size: 1.43 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> <%= friendly_time(@user.created_at, :time_since) %> </span> </div> </div> </div> <div class="mu-profile-actions mobile d-block d-md-none"> <%= edit_profile_button %> </div>
Version data entries
10 entries across 10 versions & 1 rubygems