Sha256: aff3887c82c0dcdc34a24f9a19046607dc08e541ecf24e5c49dd828fa1ac5178

Contents?: true

Size: 945 Bytes

Versions: 10

Compression:

Stored size: 945 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">
    <% unless current_page? hyrax.profile_path(user) %>
      <%= link_to t("hyrax.view_profile"), hyrax.profile_path(user), class: "btn btn-default" %>
    <% end %>

    <% if can? :edit, user %>
      <%= link_to hyrax.edit_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

10 entries across 10 versions & 2 rubygems

Version Path
hyrax-1.1.1 app/views/hyrax/users/_user.html.erb
hyrax-1.1.0 app/views/hyrax/users/_user.html.erb
hyrax-1.0.5 app/views/hyrax/users/_user.html.erb
hyrax-1.0.4 app/views/hyrax/users/_user.html.erb
hyrax-1.0.3 app/views/hyrax/users/_user.html.erb
hyrax-1.0.2 app/views/hyrax/users/_user.html.erb
hyrax-1.0.1 app/views/hyrax/users/_user.html.erb
hyrax-1.0.0.rc2 app/views/hyrax/users/_user.html.erb
hyrax-1.0.0.rc1 app/views/hyrax/users/_user.html.erb
test_hyrax-0.0.1.alpha app/views/hyrax/users/_user.html.erb