Sha256: ef7e8168bd33df5b50b5bd785f8822ecab68065ff09851b598408fa7ed738de5

Contents?: true

Size: 963 Bytes

Versions: 2

Compression:

Stored size: 963 Bytes

Contents

<% @page_heading = _('Users')  %>
<% @link_to_new = link_to(_("New User"), {:action => 'new'}, :id => 'dialog-link', :class => 'ui-state-default ui-corner-all') %>
<% 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.email%></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, 7)%>
</table>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typo-5.5 app/views/admin/users/index.html.erb
typo-5.4.4 app/views/admin/users/index.html.erb