Sha256: 1f71e27d9c58f693f718d589936f91669ec8765ec919be03f7b3c0afc286c7ce
Contents?: true
Size: 1.08 KB
Versions: 4
Compression:
Stored size: 1.08 KB
Contents
<% title("Admin") %> <h1>Admin <small>Home</small></h1> <div class="row"> <div class="col-sm-4"> <h3>Menu</h3> <h4><%= link_to "Users", admin_users_path %> <small>- <%= "#{pluralize(@count, 'user')}" %></small></h4> BRICK_POSTS_LINK <hr/> </div> <div class="col-sm-4"> <h3>Last Sign Ups</h3> <ul class="list-unstyled"> <% @last_signups.each do |user| %> <li class="list-padded-bottom"> <%= link_to user.username, edit_admin_user_path(user) %><br/> <small><%= time_ago_in_words(user.created_at)%> ago</small> </li> <% end %> </ul> </div> <div class="col-sm-4"> <h3>Last Sign Ins</h3> <ul class="list-unstyled"> <% @last_signins.each do |user| %> <li class="list-padded-bottom"> <%= link_to user.username, edit_admin_user_path(user) %><br/> <small> <% unless user.last_sign_in_at.nil? %> <%= time_ago_in_words(user.last_sign_in_at)%> ago <% else %> never <% end %> </small> </li> <% end %> </ul> </div> </div>
Version data entries
4 entries across 4 versions & 3 rubygems