Sha256: 06bc2a9518e9436d3ad0ce5dbc819c540813201696bec80d8b1795b73c018229

Contents?: true

Size: 939 Bytes

Versions: 16

Compression:

Stored size: 939 Bytes

Contents

<div class="panel panel-default panel-user">
  <div class="panel-heading">
    <%= image_tag user.avatar.url(:thumb), width: 100 if user.avatar.present? %>
    <h3>
      <% if user.name != user.user_key %>
        <%= user.name %><br />
      <% end %>
      <%= user.user_key %>
    </h3>
  </div>

  <div class="list-group">
    <%= render "users/vitals", user: user %>
    
    <div class="list-group-item">
      <%= render 'users/user_info', user: user %>
    </div>
  </div>
  

  <div class="panel-footer clearfix">
    <% unless current_page? sufia.profile_path(user) %>
      <%= link_to t("sufia.view_profile"), sufia.profile_path(user), class: "btn btn-default" %>
    <% end %>

    <% if can? :edit, user %>
      <%= link_to sufia.edit_profile_path(user), class: "btn btn-default pull-right" do %>
        <i class="glyphicon glyphicon-edit"></i> <%= t("sufia.edit_profile") %>
      <% end %>
    <% end %>
  </div>
</div>

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
sufia-7.4.1 app/views/users/_user.html.erb
sufia-7.4.0 app/views/users/_user.html.erb
sufia-7.3.1 app/views/users/_user.html.erb
sufia-7.3.0 app/views/users/_user.html.erb
sufia-7.3.0.rc3 app/views/users/_user.html.erb
sufia-7.3.0.rc2 app/views/users/_user.html.erb
sufia-7.3.0.rc1 app/views/users/_user.html.erb
sufia-7.2.0 app/views/users/_user.html.erb
sufia-7.1.0 app/views/users/_user.html.erb
sufia-7.0.0 app/views/users/_user.html.erb
sufia-7.0.0.rc2 app/views/users/_user.html.erb
sufia-7.0.0.rc1 app/views/users/_user.html.erb
sufia-7.0.0.beta4 app/views/users/_user.html.erb
sufia-7.0.0.beta3 app/views/users/_user.html.erb
sufia-7.0.0.beta2 app/views/users/_user.html.erb
sufia-7.0.0.beta1 app/views/users/_user.html.erb