Open-Source-Access-Control-.../app/views/users/summary.html.erb
2016-09-12 20:56:31 -07:00

47 lines
1.2 KiB
Plaintext
Executable File

<style type="text/css">
.users .fthumbnail {
height: 250px;
position: relative;
}
.users .badges {
display: block;
width: 100%;
height: 16px;
}
.users .badges img {
float: left;
width: 16px;
height: 16px;
background-color: white;
border-radius: 12px;
}
.users .bio, .users .thumbnail h4 {
overflow: hidden;
text-overflow: ellipsis;
height: 14pt;
font-size: 11pt;
}
</style>
<% if user_signed_in? && current_user.current_sign_in_at < Date.parse("2014-03-01") %>
<div class="alert alert-info">Looking for the old table view? Find it in the menu under People, Full Table View.</div>
<% end %>
<h1>HeatSync People
<%= link_to 'New User', new_user_path, class: "btn btn-success" if can? :create, User %>
<%= link_to 'Merge Users', users_merge_path, class: "btn btn-primary" if can? :manage, User %>
</h1>
<div class="users">
<%= render @users %>
</div>
<% if current_user.orientation.blank? then %>
<p class="alert">There's a lot more to see here, but our records show you haven't completed the new member orientation yet. If that's incorrect, please contact a volunteer.</p>
<% end %>
<br />