       discussionId = @$el.data("discussion-id")
       if @$el.data("discussion-visibility")
         @showed=true
-        @toggleDiscussionBtn.find('.button-text').html("Showing in Public View")
+        @toggleDiscussionBtn.find('.button-text').html("Hidden from Public View")
       else
         @showed=false
-        @toggleDiscussionBtn.find('.button-text').html("Hidden from Public View")
+        @toggleDiscussionBtn.find('.button-text').html("Showing in Public View")
       url = DiscussionUtil.urlFor('retrieve_discussion', discussionId) + "?page=#{@page}"
       DiscussionUtil.safeAjax
         $elem: $elem

      else
        @newPostForm.show()
      @toggleDiscussionBtn.addClass('shown')
      @toggleDiscussionBtn.find('.button-text').html("Showing in Public View")
      @$("section.discussion").slideDown()

    hideNewPost: (event) ->

    switch_status:($elem,response)=>
      if response.visibility=='true'
        @showed=true
        @toggleDiscussionBtn.find('.button-text').html("Hidden from Public View")
      else
        @showed=false
        @toggleDiscussionBtn.find('.button-text').html("Showing in Public View")

    renderDiscussion: ($elem, response, textStatus, discussionId) =>
      window.user = new DiscussionUser(response.user_info)
