 class CustomViewsManager extends JView
+
+  cookieName = "custom-partials-preview-mode"
 
   constructor: (options = {}, data) ->
 

    @previewButton = new KDButtonView
      title        : "PREVIEW"
      cssClass     : "solid green preview"
      callback     : ->
        new KDNotificationView
          title    : "Coming Soon!"

    @homePages  = new CustomViewsDashboardView
      viewType  : "HOME"

      cssClass  : "widgets"
      itemClass : WidgetCustomViewItem

  togglePreview: ->
    isPreview = $.cookie cookieName

    if isPreview
      $.cookie cookieName, no
      @previewButton.setTitle "PREVIEW"
      @previewButton.setClass "green"
    else
      $.cookie cookieName, yes
      @previewButton.setTitle   "CANCEL PREVIEW"
      @previewButton.unsetClass "green"

  pistachio: ->
    """
      <div class="button-container">
