Sha256: 75d937fc09e9c2628d3621fc2487eaa6fd33f21add7081f3751fc12b8e96f38a

Contents?: true

Size: 566 Bytes

Versions: 9

Compression:

Stored size: 566 Bytes

Contents

<div class="user">
  <h4><%= link_to h(user.login), {:action => "show", :id => user.id} %></h4>
	<p>Number of Articles: <%= Article.count "user_id = #{user.id}"  %></p>
	<p>Number of Comments: <%= Comment.count "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

9 entries across 9 versions & 1 rubygems

Version Path
typo-3.99.0 app/views/admin/users/_user.rhtml
typo-3.99.1 app/views/admin/users/_user.rhtml
typo-3.99.2 app/views/admin/users/_user.rhtml
typo-3.99.3 app/views/admin/users/_user.rhtml
typo-3.99.4 app/views/admin/users/_user.rhtml
typo-4.0.1 app/views/admin/users/_user.rhtml
typo-4.0.2 app/views/admin/users/_user.rhtml
typo-4.0.0 app/views/admin/users/_user.rhtml
typo-4.0.3 app/views/admin/users/_user.rhtml