Sha256: 0238154f014aa695e5e077c41b83d7e2731df8ab5f3f72dd1d42e5febf6c707f

Contents?: true

Size: 786 Bytes

Versions: 16

Compression:

Stored size: 786 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

16 entries across 16 versions & 1 rubygems

Version Path
hyrax-2.4.0 app/views/hyrax/users/_user.html.erb
hyrax-2.3.3 app/views/hyrax/users/_user.html.erb
hyrax-2.3.2 app/views/hyrax/users/_user.html.erb
hyrax-2.3.1 app/views/hyrax/users/_user.html.erb
hyrax-2.3.0 app/views/hyrax/users/_user.html.erb
hyrax-2.2.4 app/views/hyrax/users/_user.html.erb
hyrax-2.2.3 app/views/hyrax/users/_user.html.erb
hyrax-2.2.2 app/views/hyrax/users/_user.html.erb
hyrax-2.2.1 app/views/hyrax/users/_user.html.erb
hyrax-2.2.0 app/views/hyrax/users/_user.html.erb
hyrax-2.1.0 app/views/hyrax/users/_user.html.erb
hyrax-2.1.0.rc4 app/views/hyrax/users/_user.html.erb
hyrax-2.1.0.rc3 app/views/hyrax/users/_user.html.erb
hyrax-2.1.0.rc2 app/views/hyrax/users/_user.html.erb
hyrax-2.1.0.rc1 app/views/hyrax/users/_user.html.erb
hyrax-2.1.0.beta2 app/views/hyrax/users/_user.html.erb