Sha256: 670c17c5d6af8fe123c1adb25c5a75d054699cf5a3411000da742f2f998d4e36
Contents?: true
Size: 1.19 KB
Versions: 4
Compression:
Stored size: 1.19 KB
Contents
<% @page_heading = _('Users') + ' <span> » '+ link_to('add new', :action=>'new') +'</span>' %> <% subtabs_for(:users) %> <div class="list"> <table> <tr class="first"> <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 image_tag('admin/show.png'), {:controller => 'content', :action => 'list', "search[user_id]" => user.id} %></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
4 entries across 4 versions & 1 rubygems