     @setTemplate @pistachio()
     @template.update()
 
-    # @$("code").addClass "prettyprint"
     @$("pre").addClass "prettyprint"
     prettyPrint()
-
-    # temp for beta
-    # take this bit to comment view
-    # this is useful when the snaphots don't work
-    # if @getData().repliesCount? and @getData().repliesCount > 0
-    #   opinionController = @opinionBox.opinionController
-    #   opinionController.fetchRelativeOpinions 5, 0, (err, opinions)=>
-    #     for opinion in opinions
-    #       @opinionBox.opinionList.addItem opinion, null, {type : "slideDown", duration : 100}
-    #     @opinionBox.opinionList.emit "RelativeOpinionsWereAdded"
 
   pistachio:->
     """

                      @emit "DiscussionWasEdited", discussion
                      @editDiscussionForm.setClass "hidden"
                      @$(".discussion-body .data").show()

              , data


              @addSubView @editDiscussionForm, "p.discussion-body", yes
              @$(".discussion-body .data").hide()

        href      : '#'
      cssClass    : 'edit-link hidden'

    activity = @getData()
    bongo.cacheable data.originId, "JAccount", (err, account)=>
      loggedInId = KD.whoami().getId()
      if loggedInId is data.originId or       # if comment owner
         loggedInId is activity.originId or   # if activity owner
         KD.checkFlag "super-admin", account  # if super-admin

        @listenTo
