Sha256: a4faf5eccd76e71188ba51d3272cac8eee5d526473c0d9e80404991246760345

Contents?: true

Size: 787 Bytes

Versions: 13

Compression:

Stored size: 787 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 "hyrax/users/vitals", user: user %>

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


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

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
hyrax-2.0.3 app/views/hyrax/users/_user.html.erb
hyrax-2.0.2 app/views/hyrax/users/_user.html.erb
hyrax-2.1.0.beta1 app/views/hyrax/users/_user.html.erb
hyrax-2.0.1 app/views/hyrax/users/_user.html.erb
hyrax-2.0.0 app/views/hyrax/users/_user.html.erb
hyrax-2.0.0.rc3 app/views/hyrax/users/_user.html.erb
hyrax-2.0.0.rc2 app/views/hyrax/users/_user.html.erb
hyrax-2.0.0.rc1 app/views/hyrax/users/_user.html.erb
hyrax-2.0.0.beta5 app/views/hyrax/users/_user.html.erb
hyrax-2.0.0.beta4 app/views/hyrax/users/_user.html.erb
hyrax-2.0.0.beta3 app/views/hyrax/users/_user.html.erb
hyrax-2.0.0.beta2 app/views/hyrax/users/_user.html.erb
hyrax-2.0.0.beta1 app/views/hyrax/users/_user.html.erb