       @loadFromOrigins options.group
   
   loadFromOrigins:(group)->
+
     three = group.slice(-3)
     bongo.cacheable three, (err, bucketContents)=>
       @setData bucketContents

      @render()
  
  itemClass:(options, data)->
    new (@getOptions().subItemClass) options, data
  
  createParticipantSubviews:->
    participants = @getData()
    for participant, index in participants
      @["participant#{index}"] = @itemClass {}, participant

        sep = if @participant0.getData() instanceof bongo.api.JAccount then ', ' else ' '
        "{{> @participant0}}#{sep}{{> @participant1}}#{if hasMore then sep else ' and'} {{> @participant2}}"
    tmpl += " and <a href='#' class='more'>#{totalCount-3} more</a>" if hasMore
    return tmpl

class ActivityChildViewTagGroup extends LinkGroup

  render:->

    @createParticipantSubviews()
  
  pistachio:->

    participants = @getData()
    {hasMore, totalCount} = @getOptions()

    @more = new KDCustomHTMLView
      tagName     : "a"
      cssClass    : "more"
      partial     : "#{participants.length-3} more"
      attributes  :
        href      : "#"
        title     : "Click to view..."
      click       : ->
        new FollowedModalView {}, participants

    switch participants.length
      when 0 then ""
      when 1 then "in {{> @participant0}}"
      when 2 then "in {{> @participant0}}{{> @participant1}}"
      when 3 then "in {{> @participant0}}{{> @participant1}}{{> @participant2}}"
      when 4 then "in {{> @participant0}}{{> @participant1}}{{> @participant2}}{{> @participant3}}"
      else "in {{> @participant0}}{{> @participant1}}{{> @participant2}}and {{> @more}}"

      
class FollowedModalView extends KDModalView
  
