Sha256: 0d66a15c40b848a39dfe9c8635e15706be16953625a9c3c0d693b310d8a1abf6

Contents?: true

Size: 684 Bytes

Versions: 2

Compression:

Stored size: 684 Bytes

Contents

<div class="user">
  <h4><%= link_to h(user.login), {:action => "show", :id => user.id} %></h4>
        <p><%= _("Number of Articles")%>: <%= Article.count :conditions => "user_id = #{user.id}"  %></p>
        <p><%= _("Number of Comments")%>: <%= Comment.count :conditions => "user_id = #{user.id}"  %></p>
        <p><%= _("Notified") %> <% if user.notify_via_email? %> <%= _("via email") %> <% end %>:
          <%= "new articles" if user.notify_on_new_articles? %>
          <%= "comments" if user.notify_on_comments? %></p>
  <p><%= link_to _('Edit'), :action => 'edit', :id => user  %><strong> |</strong> <%= link_to _('Delete'), :action => 'destroy', :id => user %></p>
</div>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
typo-4.1.1 app/views/admin/users/_user.rhtml
typo-4.1 app/views/admin/users/_user.rhtml