Sha256: 087a4de8c11d313e10969685f76d06e383339c809574614f02cec5dd96fc8120
Contents?: true
Size: 1.16 KB
Versions: 3
Compression:
Stored size: 1.16 KB
Contents
<% @page_heading = _('Users') + '('+ link_to('add new', :action=>'new') +')'%> <% content_for('tasks') do %> <%= subtab _("Users"), "current", {:controller=>"users", :action=>"index"} %> <% end %> <div class="list"> <table> <tr> <th class="first"><%= _("Name")%></th> <th><%= _("Username")%></th> <th><%= _("Profile")%></th> <th><%= _("Articles")%></th> <th><%= _("Comments")%></th> <th><%= _("View") %></th> <th><%= _("Edit") %></th> <th class="last"><%= _("Delete") %></th> </tr> <% for user in @users -%> <tr <%= alternate_class %>> <td class="field first"> <%= user.name %></td> <td class="field"><%= mail_to user.email, user.login%></td> <td class="field"><%= user.profile.nicename %></td> <td class="field"><%= Article.count :conditions => "user_id = #{user.id}" %></td> <td class="field"><%= Comment.count :conditions => "user_id = #{user.id}" %></td> <td class="operation"><%= link_to_show user %></td> <td class="operation"><%= link_to_edit user %></td> <td class="operation last"><%= link_to_destroy user %></td> </tr> <% end -%> </table> </div>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
typo-5.0.1 | app/views/admin/users/list.html.erb |
typo-5.0.2 | app/views/admin/users/list.html.erb |
typo-5.0 | app/views/admin/users/list.html.erb |