Commit 5909a73e

mo khan <mo@mokhan.ca>
2014-01-19 06:09:13
add partial to render comments in the activity feed.
1 parent c47fa94
Changed files (1)
app
views
app/views/dashboard/_comment.html.erb
@@ -0,0 +1,14 @@
+<dt>
+<i class="icon-comment icon-large"></i>
+</dt>
+<dd>
+<p><%= time_ago_in_words(subject.created_at) %> ago.</p>
+<p>
+<%= avatar_for(subject.user, size: 24) %> 
+<%= link_to subject.user.name, profile_path(subject.user) %> said
+<blockquote>
+  <%= subject.text %>
+</blockquote>
+about <%= link_to subject.creation.name, creation_path(subject.creation) %>.
+</p>
+</dd>