Sha256: b28d5614ca92f4e4a611f6263e878dd93442e54fdc1a46557db166c01f0da122
Contents?: true
Size: 903 Bytes
Versions: 4
Compression:
Stored size: 903 Bytes
Contents
<% @page_heading = _('Users') + ' <span> » '+ link_to(_('add new'), :action=>'new') +'</span>' %> <% subtabs_for(:settings) %> <table> <tr> <th><%= _("Username") %></th> <th><%= _("Name") %></th> <th><%= _("Email") %></th> <th><%= _("Profile") %></th> <th><%= _("Articles") %></th> <th><%= _("Comments") %></th> <th><%= _("State") %></th> </tr> <% for user in @users -%> <tr <%= alternate_class %>> <td><%= link_to_edit user.login, user%></td> <td> <%= user.name %></td> <td><%= mail_to user.email, user.login%></td> <td><%= _(user.profile.nicename) %></td> <td><%= Article.count :conditions => "user_id = #{user.id}" %></td> <td><%= Comment.count :conditions => "user_id = #{user.id}" %></td> <td class='<%= user.state %>'><%= _("%s user", user.state)%></td> </tr> <% end -%> <%= display_pagination(@users, 8)%> </table>
Version data entries
4 entries across 4 versions & 1 rubygems