% @page_heading = _('Users') + '('+ link_to('add new', :action=>'new') +')'%> <% content_for('tasks') do %> <%= subtab _("Users"), "current", {:controller=>"users", :action=>"index"} %> <% end %>
<%= _("Name")%> | <%= _("Username")%> | <%= _("Profile")%> | <%= _("Articles")%> | <%= _("Comments")%> | <%= _("View") %> | <%= _("Edit") %> | <%= _("Delete") %> |
---|---|---|---|---|---|---|---|
<%= user.name %> | <%= mail_to user.email, user.login%> | <%= user.profile.nicename %> | <%= Article.count :conditions => "user_id = #{user.id}" %> | <%= Comment.count :conditions => "user_id = #{user.id}" %> | <%= link_to_show user %> | <%= link_to_edit user %> | <%= link_to_destroy user %> |