       return "{{> @avatar}} You installed {{> @object}}"
 
     return "{{> @avatar}} {{> @actor}} installed {{> @object}}"
+
+class ActivityTickerCommentItem extends ActivityTickerBaseItem
+  constructor: (options = {}, data) ->
+    super options, data
+
+    {source, target, subject, object} = data
+
+    @avatar    = new AvatarView
+      size     : width: 28, height: 28
+      cssClass : "avatarview"
+    , source
+
+    @actor    = new ProfileLinkView null, source
+    @origin   = new ProfileLinkView null, target
+    @subj     = new ActivityLinkView null, subject
+    @object   = new ActivityCommentView null, object
+
+  pistachio: ->
+    {source, target, subject} = @getData()
+    activity = "commented on"
+    #another copy/paste. this must be changed
+    # i did something
+    if  source.getId() is KD.whoami().getId()
+      # if user commented his/her post
+      if source.getId() is target.getId() then \
+        return "{{> @avatar}} You #{activity} your {{> @subj}}:{{> @object}}"
+      else
+        return "{{> @avatar}} You #{activity} {{> @origin}}'s {{> @subj}}:{{> @object}}"
+
+    # someone did something to you
+    if target.getId() is KD.whoami().getId() then \
+      return "{{> @avatar}} {{> @actor}} #{activity} your {{> @subj}}:{{> @object}}"
+
+    # if user commented his/her post
+    if source.getId() is target.getId() then \
+      return "{{> @avatar}} {{> @actor}} #{activity} their {{> @subj}}:{{> @object}}"
+
+    # rest
+    return "{{> @avatar}} {{> @actor}} #{activity} {{> @origin}}'s {{> @subj}}:{{> @object}}"
 
 class ActivityTickerItem extends KDListItemView
   itemClassMap =


  pistachio: ->
    {source, target, subject} = @getData()

    # i did something
    if  source.getId() is KD.whoami().getId()
      # if user liked his/her post
      if source.getId() is target.getId() then \
        return "{{> @avatar}} You liked your {{> @subj}}"
      else
        return "{{> @avatar}} You liked {{> @origin}}'s {{> @subj}}"

    # someone did something to you
    if target.getId() is KD.whoami().getId() then \
      return "{{> @avatar}} {{> @actor}} liked your {{> @subj}}"

    # if user liked his/her post
    if source.getId() is target.getId() then \
      return "{{> @avatar}} {{> @actor}} liked their {{> @subj}}"

    # rest
    return "{{> @avatar}} {{> @actor}} liked {{> @origin}}'s {{> @subj}}"

class ActivityTickerMemberItem extends ActivityTickerBaseItem
  constructor: (options = {}, data) ->

    {target} = @getData()

    # if current user did the activity
    if target.getId() is KD.whoami().getId()
      return "{{> @avatar}} You followed {{> @object}}"

    return "{{> @avatar}} {{> @actor}} followed {{> @object}}"
