Sha256: ccfa7a617b9c9673f446f1ddc348a4d93ab791e9ebfd1f8fe2f3c650eb9050f0

Contents?: true

Size: 1.58 KB

Versions: 22

Compression:

Stored size: 1.58 KB

Contents

<div id="search" class="row">
<%= render partial: 'search_form' %>
<h1><%= t('sufia.product_name') %> Users</h1>
</div>
<div id="Data">
    <table class="table table-striped"> 
        <thead> 
            <tr> 
                <th>Avatar</th> 
                <th class="sorts"><i id="name" class="<%=params[:sort].blank? ? 'caret up' : params[:sort]== "name desc" ? 'caret' : params[:sort]== "name" ? 'caret up' : ''%>"></i>User Name</th>
                <th class="sorts"><i id="login" class="<%=params[:sort]== "login desc" ? 'caret' : params[:sort]== "login" ? 'caret up' : ''%>"></i>User Id</th>
                <th class="sorts"><i id="department" class="<%=params[:sort]== "department desc" ? 'caret' : params[:sort]== "department" ? 'caret up' : ''%>"></i>Department</th>
                <th>Files Deposited</th> 
            </tr> 
        </thead> 
        <tbody> 
            <% @users.each do |user| %> 
                <tr class="<%= cycle("","zebra") %>"> 
                   <td><a href="<%= sufia.profile_path(user) %>" class="btn btn-sm " ><%= image_tag user.avatar.url(:thumb), width: 30 %></a></td> 
                   <td ><a href="<%= sufia.profile_path(user) %>"  ><%= user.name %><a></td> 
                   <td><a href="<%= sufia.profile_path(user) %>"  ><%= user.user_key %><a></td>
                   <td><%= user.department %> </td> 
                   <td><%= number_of_deposits(user) %> </td>
                </tr> 
             <% end %> 
        </tbody> 
    </table> 
    <div class="pager">
      <%= paginate @users,  theme: 'blacklight', route_set: sufia%>
    </div>
</div> 

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
sufia-6.7.0 app/views/users/index.html.erb
sufia-6.6.1 app/views/users/index.html.erb
sufia-6.6.0 app/views/users/index.html.erb
sufia-6.5.0 app/views/users/index.html.erb
sufia-6.4.0 app/views/users/index.html.erb
sufia-6.3.0 app/views/users/index.html.erb
sufia-6.2.0 app/views/users/index.html.erb
sufia-6.1.0 app/views/users/index.html.erb
sufia-5.0.0 app/views/users/index.html.erb
sufia-6.0.0 app/views/users/index.html.erb
sufia-6.0.0.rc4 app/views/users/index.html.erb
sufia-6.0.0.rc3 app/views/users/index.html.erb
sufia-5.0.0.rc1 app/views/users/index.html.erb
sufia-6.0.0.rc2 app/views/users/index.html.erb
sufia-6.0.0.rc1 app/views/users/index.html.erb
sufia-4.3.1 app/views/users/index.html.erb
sufia-6.0.0.beta1 app/views/users/index.html.erb
sufia-4.2.0 app/views/users/index.html.erb
sufia-4.1.0 app/views/users/index.html.erb
sufia-4.0.1 app/views/users/index.html.erb