           return
 
         rename snapshot
-    return
-
-
-  ###*
-   * Set the value of the createdAt UI element
-   *
-   * @param {Date|String} createdAt - The value to display createdAt
-  ###
-  setCreatedAt: (createdAt) ->
-
-    createdAt = new Date(createdAt) if typeof createdAt is 'string'
-    createdAtAgo = nicetime (createdAt - Date.now()) / 1000
-    @infoView.createdAtView.updatePartial createdAtAgo
-    return
 
 
   ###*

  ###
  renameSnapshot: ->

    label        = @editView.edit.getValue()
    data         = @getData()
    {snapshotId} = data


  initViews: ->

    data = @getData()
    @editInput = new kd.HitEnterInputView
      type        : 'text'
      placeholder : 'Snapshot Name'
      cssClass    : 'label'
      callback    : @bound 'renameSnapshot'

    @editRenameBtn = new kd.ButtonView
      title    : 'rename'
      cssClass : 'solid green compact rename'
      callback : @bound 'renameSnapshot'

    @editCancelBtn = new kd.View
      partial  : 'cancel'
      tagName  : 'span'
      tagName  : 'span'
      cssClass : 'cancel'
      click    : @bound 'toggleEditable'

    @labelView = new kd.View
      tagName  : 'span'
      cssClass : 'label'
      click    : @bound 'toggleEditable'

    @infoRenameBtn = new kd.ButtonView
      iconOnly : true
      cssClass : 'rename'
      callback : @bound 'toggleEditable'

    @infoDeleteBtn = new kd.ButtonView
      iconOnly : true
      cssClass : 'delete'
      callback : @bound "confirmDeleteSnapshot"

    @addSubView @editView = new JView
      cssClass: 'edit hidden'
      pistachioParams: {@editInput, @editRenameBtn, @editCancelBtn}
      pistachio: """
        <div>
          {{> editInput}}
          <div class="buttons">
            {{> editRenameBtn}}
            {{> editCancelBtn}}
          </div>
        </div>
        """

    @addSubView @infoView = new JView
      cssClass: 'info'
      pistachioParams: {@labelView, @infoRenameBtn, @infoDeleteBtn}
      pistachio: """
        <div>
          {{> labelView}}
          <span class="storage-size">(#{data.storageSize}GB)</span>
          <span class="created-at">
            #{SnapshotListItem.prettyCreatedAt data.createdAt}
          </span>
          <div class="buttons">
            {{> infoRenameBtn}}
            {{> infoDeleteBtn}}
          </div>
        </div>
        """


  ###*
